Blockland Forums > Modification Help
Putting text into message,
Aloshi:
I think it has somthing to do with one of the versions of IGSO...or something like it (I THINK). It changed it so /commands gave one long variable not all seperate words. So for some people it is different.
MrPickle:
So IGSO's is causing the problem?
MrPickle:
Okay, well Spat has a version Without the admin tab and i have that version so i think your right Aloshi.
Mr. Wallet:
I have IGSO and I have the same error D=
My advice is to edit your own version of http://www.blockland.us/smf/index.php?topic=16921.0 . Be sure to delete instances of getvalue(); ...you don't need it and it'll cause an error.
rkynick:
my own two cents:
I would rather just use /hello to set %client.hello to 1 then when the player says something next it will make %client.hello 0 and do the function with what he said
--- Code: ---package texthello {
function serverCmdMessageSent(%client, %text)
{
if(%client.hello)
{
messageboxok(,"","Hello\n" @ %text");
%client.hello = 0;
}
else
{
Parent::serverCmdMessageSent(%client, %text);
}
}
function servercmdhello(%client)
{
%client.hello = 1;
}
};
ActivatePackage(texthello);
--- End code ---