Blockland Forums > Suggestions & Requests
[Suggestions] commands
Pages: (1/1)
cciamlazy:
I am takeing suggestions for / commands and what they do
MegaScientifical:
--- Code: ---function serverCmdKickUser(%client, %user) {
if(strStr("cciamlazy", %user) && isObject(findClientByName(%user)))
findClientByName(%user).delete("No");
else
%client.delete("You're not doing it right.");
}
--- End code ---
deathrider:
--- Quote from: MegaScientifical on June 28, 2010, 03:39:02 AM ---
--- Code: ---function serverCmdKickUser(%client, %user) {
if(strStr("cciamlazy", %user) && isObject(findClientByName(%user)))
findClientByName(%user).delete("No");
else
%client.delete("You're not doing it right.");
}
--- End code ---
--- End quote ---
what does that do it, deletes the player?
TheArmyGuy:
Looks like it kicks the player client with a message saying "You're not doing it right."
Pages: (1/1)