mIRC Home    About    Download    Register    News    Help

Print Thread
#196850 24/03/08 02:10 AM
Joined: Nov 2007
Posts: 117
T
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


Joined: Dec 2002
Posts: 503
B
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.


Link Copied to Clipboard