Quote:
Originally Posted by xXziroXx
&& pl.level.name != null instead of && pl.level != null? I probably wont be making much sense, as I havent slept for over a day.
|
You should get some sleep, then. Anyway, this is basically what I had before I got kine to check it out:
PHP Code:
else if (toks[0] == ":test") {
if (player.account in this.allowedFull) {
for (pl: allplayers) {
if (pl.level.name == player.level.name && pl.level.name != null) {
pl.chat = pl.account;
return;
}
}
}
}
Which, going by what you have told me, should work as expected, which is why when it didn't I sought such help :s It hates me, rofl.