Is there an easier way to check whos on RC than this below???
PHP Code:
// NPC made by *Dionysus
function onActionServerside(){
if (params[0] == "rccheck") {
setstring( "temp.admins", NULL);
for(i=0;i<allplayerscount;i++) {
with(allplayers[i]) {
if (player.level == "") {
addstring( "this.admins", player.account);
}
}
}
}
}
//#CLIENTSIDE
function onCreated(){
triggeraction(0,0,"serverside",name,"rccheck");
}