Timer Script (haven't tested this yet)
Can someone please confirm if I'm on the right track?PHP Code:
//Coded by iMask
function onPlayerChats () {
for (this.i=0;this.chat=="/timer";this.i++) {
this.chat = this.i;
sleep (1);
}
if (this.chat == "/stoptimer") {
break;
this.chat = @"this.i"@;
}
}