mIRC Home    About    Download    Register    News    Help

Print Thread
#201394 27/06/08 11:29 AM
Joined: Nov 2006
Posts: 143
X
xyzzy Offline OP
Vogon poet
OP Offline
Vogon poet
X
Joined: Nov 2006
Posts: 143
Code:
on 2:TEXT:!master100*:#: {
  %ulevel =  $level($address($nick,18))
if (%ulevel >= $getread(-s,remote,remote23) && $getread(-s,remote,remcmd23b) == on) { .guser 100 $2 18 | .Notice $nick u added 100 level
}


this adding users as 500:nick!ident@ip
how can i add only 500:nick ?
also can i use the command as !master 100 nick
instead of !master100 nick confused

Last edited by xyzzy; 27/06/08 11:29 AM.
xyzzy #201419 27/06/08 10:30 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
1) Use .auser rather than .guser
2) Yes, but it would require either a second event, or a modification to the event you're already using.


Link Copied to Clipboard