mIRC Home    About    Download    Register    News    Help

Print Thread
and or confussion #196850 24/03/08 02:10 AM
Joined: Nov 2007
Posts: 117
T
TheWarlock Offline OP
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
hi , i have this

menu nicklist {
access : msg %namebot2 || msg %namebot3 access # list
}

my idea is using one sentence for dif bots(chanserv o chan)

msg chan acceess # list or msg chanserv access #list


thnx


Re: and or confussion [Re: TheWarlock] #196857 24/03/08 03:10 AM
Joined: Dec 2002
Posts: 503
B
Bekar Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Look at the $iif() identifier. It means inline-if.

Code:
menu nicklist {
  $iif($1 isop #, De) $+ Op $1 : mode # $iif($1 isop #, -o, +o) $1
}

An example.