Blockland Forums > Modification Help
Putting text into message,
MrPickle:
I think theres no such thing as %t5 and %t6 because i tryed echoing %t5 and %t6 from the /cmd and it comes up as %t4.
-Koden-:
--- Quote from: MrPickel on July 12, 2007, 01:55:15 PM ---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 ---
--- End quote ---
Typo comma and space after %t8
MrPickle:
Yeah that was a typo i dont have that in the real thing.
MrPickle:
Ok. WTF, i gave the mod to Spat so we could play with it and when he tried Ransom he could say more than 4 words and i couldnt.
Space Guy:
I'm thinking there's a problem in server commands clientside - in my servers, when I used my bot commands:
/makebot Generic Hello,_everyone.
I got a bot with name "Generic" with the line "Hello, everyone". (due to my code)
When others did the same, they got a bot with name "Generic Hello, everyone" with no line at all.