mIRC Home    About    Download    Register    News    Help

Print Thread
#61300 21/11/03 07:38 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias acess {
set %nick1 $$?="Nick to erase of list:"
set %nick2 $$?="Nick to add to list:"
set %num1 $$?="Num of access: "

echo 12,0 delete %nick1 for change %nick2
if $nick isop $me { .msg chanserv access # del %nick1 }
if $nick isop $me { .msg chanserv access # add %nick2 %num1 }
else { echo 0,4 you are not op }

}


how can i do it the isop i think i do wrong

thnx so much


mess with the best
#61301 21/11/03 11:55 AM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
Quote:

ison nickname v1 is on channel v2
isop nickname v1 is an op on channel v2
ishop nickname v1 is a halfop on channel v2
isvoice nickname v1 has a voice on channel v2
isreg nickname v1 is a normal nick on channel v2
ischan if v1 is a channel which you are on.
isban if v1 is a banned address in internal ban list


if ($nick isop $chan) { do stuff }
if (#channel ischan) { do stuff }


If it ain't broken, don't fix it!

Link Copied to Clipboard