mIRC Home    About    Download    Register    News    Help

Print Thread
#11253 15/02/03 02:21 PM
N
Nakis
Nakis
N
from mirc.hlp:
Code:
The double $$ means that this command will only be executed if a parameter is specified.

i think that it would be pretty handfull if we could specify a command to be executed, if the requested parameter was $null (something like $iif).

#11254 16/02/03 06:25 PM
N
nimper
nimper
N
I think you pretty much solved your own problem. Just use $iif.

$iif($blah,$blah,bleh)

#11255 18/02/03 05:57 PM
N
Nem3sis
Nem3sis
N
Quote:
$iif($blah,$blah,bleh)


I'd use $iif($blah,$ifmatch,bleh) as in most cases the $blah is more like $blah($bloh($blih),$bluh).bleh laugh


Link Copied to Clipboard