gooshie commented on a Page, Bot Snippet  -  Sep 24, 2010

Because the event is * $ulevel will return user level 1 no matter what the user level of $nick. The help file is vague on $ulevel. You must use $level($fulladdress). Also I would not tokenize until after the level match. Also maybe require two words to trigger.

on *:text:* *:#:{

  if $istok(owner.superowner.master.operator,$level($fulladdress),46) {

   tokenize 32 $strip($1-)

   ;here u can put all commands that all levels can do
    ...
    ...
    if $level($fulladdress) != operator {
      ;here u can put all command that all levels exclude operator can do
      ...
      ...
      if $level($fulladdress) != master {
        ;here u can put all cmds exclude operator and master
        ...
        ...
        if $level($fulladdress) != owner {
          ;and here for superowner
          ...
          ...
        }
      }
    }
  }
}
___________________________________________________________________________
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.