mIRC Homepage
Posted By: eiii ON ?:TEXT - 30/06/03 03:40 PM
OK, i know that ON 1:TEXT: is for everyone, but what is the "level" for ops?
Posted By: codemastr Re: ON ?:TEXT - 30/06/03 03:44 PM
Umm the level system has nothing to do with who is an op or not. Levels are defined by you, you can add anyone you want to a specific level. If you want the event to only trigger when the user is an op, use an if statement:

if ($nick isop $chan) { .............. }
Posted By: SladeKraven Re: ON ?:TEXT - 30/06/03 03:48 PM
There is no level for ops. Though you can do something like.
/guser 100 Nick 3

Then something like.
on @100:TEXT:!op*:#: { mode # +o $nick | halt }
Posted By: rpg_gamer Re: ON ?:TEXT - 30/06/03 03:51 PM
put this i remotes (alt r)

menu nicklist {
$iif($1, Add user to user list)
.$submenu($adduser($$1))
.$iif($level($$1), Remove User) :/ruser $$1 | /echo -a User removed from list
}

alias adduser {
; max levels allowed for your bot (how many diff levels would you like
var %maxLevel = 5

if ($$1 == begin) || ($$1 == end) return -
else if ($$1 <= %maxLevel) return Level $$1 : $chr(123) .auser $$1 $snick($active, 1) $chr(124) /echo -a Added user $snick($Active, 1) to the user list $chr(125)
}

Then, in the nick list, right-click and chose a level for the person and then make the command correspond to the person whom u want it to work for
Posted By: SladeKraven Re: ON ?:TEXT - 01/07/03 01:21 AM
This post can also be found at: Re: help my stupid ass again king
© mIRC Discussion Forums