mIRC Home    About    Download    Register    News    Help

Print Thread
#33177 30/06/03 03:40 PM
Joined: Jun 2003
Posts: 1
E
eiii Offline OP
Mostly harmless
OP Offline
Mostly harmless
E
Joined: Jun 2003
Posts: 1
OK, i know that ON 1:TEXT: is for everyone, but what is the "level" for ops?

#33178 30/06/03 03:44 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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) { .............. }

#33179 30/06/03 03:48 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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 }

#33180 30/06/03 03:51 PM
Joined: Jun 2003
Posts: 40
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Jun 2003
Posts: 40
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

#33181 01/07/03 01:21 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
This post can also be found at: Re: help my stupid ass again king


Link Copied to Clipboard