mIRC Homepage
Posted By: TheWarlock and or confussion - 24/03/08 02:10 AM
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

Posted By: Bekar Re: and or confussion - 24/03/08 03:10 AM
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.
© mIRC Discussion Forums