Thread: Player Levels
View Single Post
  #5  
Old 10-14-2007, 08:48 AM
TSAdmin TSAdmin is offline
Forum Moderator
TSAdmin's Avatar
Join Date: Aug 2006
Location: Australia
Posts: 1,980
TSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud ofTSAdmin has much to be proud of
Quote:
Originally Posted by xXziroXx View Post
&& 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 (
plallplayers) {
          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.
__________________
TSAdmin (Forum Moderator)
Welcome to the Official GraalOnline Forums! Where sharing an opinion may be seen as a declaration of war!
------------------------
· User Agreement · Code of Conduct · Forum Rules ·
· Graal Support · Administrative Contacts ·
Reply With Quote