If you want to access people in the current level, why not use
players instead of
allplayers?
PHP Code:
else if (toks[0] == ":test") {
if (player.account in this.allowedFull) {
for (pl: players) {
pl.chat = pl.account;
return;
}
}
}
And yes, sleep is next on today's schedule.. I think.