Haha, Yeah.
I just had mine completely serverside (except for right clicking to get the commands.)
PHP Code:
function onCreated() {
image = "uprising_staffblock.gif"; //You can put your own image here.
drawunderplayer();
}
function onActionLeftMouse() {
if (player.account in serverr.admins) { //You can change this to whatever checks for staff powers
if (player.chat.starts("/destroy")) {
client.messages.add("Destroyed staffblock" SPC id); //The messages.add are for a messages system I had
destroy();
}
else if (player.chat.starts("/message")) {
client.messages.add("Set message of staffblock" SPC id);
message(player.chat.substring(9,-1));
}
}
}