_Teen_ commented on a Page, Access System (For Bot) v1  -  Oct 30, 2010

let me guess... its ur first snippet...

look, many events, when just need one...

you already tried to use $level?

look

on 100:JOIN:#channelhere: { mode $chan +o $nick 
/msg $chan $nick has an access level with this bot: 4operator. }
on 150:JOIN:#channelhere: { mode $chan +a $nick 
/msg $chan $nick has an access level with this bot: 4protector. }
on 200:JOIN:#channelhere: { mode $chan +a $nick 
/msg $chan $nick has an access level with this bot: 4protector+trusted. }

if ppl with level 150 and 200 gain +a on join, no need to separate them, by the way, you need to check if bot is op on channel

on *:join:#channel:{
   if (($level($nick) isnum 150-200) && ($me isop $chan)) { 
    mode $chan +a $nick
   } 
}
 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.