mIRC Home    About    Download    Register    News    Help

Print Thread
#180130 04/07/07 01:47 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
Can someone please explain what these 3 code line mean exacly?

if ($nick == ChanServ || $nick == NickServ || $nick == MemoServ) { return }

if ($me !isop $chan) || (. isin $nick) || (($network == dalnet) && (ChanServ == $nick)) return

if (($nick isop $chan) || (exempt isin $level($fulladdress))) halt

Garou #180131 04/07/07 02:02 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
/help if then else

|| = or

&& = and

line 1
if $nick is ChanServ or $nick is NickServ or $nick is MemoServ do nothing

line 2
if you're opped on $chan or . is in $nick or $network is dalnet and $nick is ChanServ do nothing

line 3
if $nick is opped on $chan or $nick is in your userlist as exempt stop

RoCk #180132 04/07/07 02:09 PM
Joined: Aug 2006
Posts: 469
G
Garou Offline OP
Fjord artisan
OP Offline
Fjord artisan
G
Joined: Aug 2006
Posts: 469
ic ok line 3 will exempt if the address is added to my userlist right?
How do I exempt chanserv nickserv and memoserv then like after a netsplit?

Last edited by Garou; 04/07/07 02:21 PM.
Garou #180133 04/07/07 02:12 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
Quote:
How do I exempt chanserv nickserv and memoserv then like after a netsplit?


line 1


Link Copied to Clipboard