Blockland Forums > Modification Help
Putting text into message,
MrPickle:
Well i know how to but when it gets to %t4 %t5 and the others turn into %t4 and its just repeated. I do this:
--- Code: ---function servercmdHello(%client, %t1, %t2, %t3, %t4, %t5, %t6, %t7, %t8, ){
%text = %t1 SPC %t2 SPC %t3 SPC %t4 SPC %t5 SPC %t6 SPC %t7 SPC %t8;
messageboxok(,"","Hello\n" @ %text");
}
--- End code ---
If i typed /hello 1 2 3 4 5 6 7 8
it'd come out: 1 2 3 4 4 4
MrPickle:
Argh no edit. that " after %text isnt ment to be there. Thats a typo. (Still need help)
MrPickle:
After trying different methods anything i do it repeats the 4th word.
Space Guy:
--- Code: ---%t8,)
--- End code ---
doesn't look too good.
I think it may be the fact that Badspot's "usual" servercmds can only take so many arguments. For chat mods, try editing servercmdTeamMessageSent or servercmdMessagesent.
MrPickle:
That was a typo. I tried messagesent by looking at Randys PM mod but again it repeats the first word.