mIRC Home    About    Download    Register    News    Help

Print Thread
#11253 15/02/03 02:21 PM
Joined: Dec 2002
Posts: 15
N
Nakis Offline OP
Pikka bird
OP Offline
Pikka bird
N
Joined: Dec 2002
Posts: 15
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
Joined: Dec 2002
Posts: 17
N
Pikka bird
Offline
Pikka bird
N
Joined: Dec 2002
Posts: 17
I think you pretty much solved your own problem. Just use $iif.

$iif($blah,$blah,bleh)

#11255 18/02/03 05:57 PM
Joined: Dec 2002
Posts: 29
N
Ameglian cow
Offline
Ameglian cow
N
Joined: Dec 2002
Posts: 29
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