post the recieving at serverside?
PHP Code:
function onActionServerside()
{
switch(params[0])
{
case "test":
with(findplayer(params[1]))
echo("My account is " @ player.account SPC "and I am bored.");
break;
}
}
//#CLIENTSIDE
function onPlayerChats()
{
if (player.chat == "/test")
{
t = player.chat.tokenize();
triggerserver("gui", this.name, "test", t[1]);
}
}
// Just an example, I don't even know if it works, written directly
Is it something like this?
btw, you can post some parts of the script that
you think is wrong with the script tho