Ok, i just did
PHP Code:
if (player.account == "sssssssssss" || player.account == "Decus_Arillias"){
if (player.chat.starts("/addstaff")){
// Gets acct from "/addstaff acct"
temp.toAdd = player.chat.substring("/addstaff ".length());
temp.acctgo = player.chat.tokenize()[1];
temp.postgo = player.chat.tokenize()[2];
temp.nickgo = player.chat.tokenize()[3];
// Sends Trigger to Server
triggerserver("gui", this.name, "addstaff", acctgo, postgo, nickgo);
}
}
instead, now setting the tag, i have this
PHP Code:
if (player.chat == "/settag"){
if (clientr.staff == "yes"){
triggerserver("gui", this.name, "settag", player.account);
}
}
and serverside is
PHP Code:
if (params[0] == "settag"){
getguildnick(params[1], player.account);
}
thats not working either.