mIRC Home    About    Download    Register    News    Help

Print Thread
#204868 04/10/08 01:30 PM
N
nok
nok
N
This code is valid?
Code:
if %var == 2 || 4 || 6 { command }
else { command }

THX

#204872 04/10/08 05:04 PM
R
RusselB
RusselB
R
Code is not valid, but close. Here are two valid options.
Code:
if %var == 2 || $v1 == 4 || $v1 == 6 { command 1 }
else { command 2 }

Code:
if $istok(2 4 6,%var,32) { command 1 }
else { command 2 }


Link Copied to Clipboard