mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2007
Posts: 66
B
beer Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jul 2007
Posts: 66
Hi. I can do:

if (%somevar isin %listvar)

but how do you do a `isnotin` instead of isin? None of these worked:

if !(..)
if ! (..)
if (.. !isin ..)
if (.. ! isin ..)

Thanks in advance for the help!

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
the 3rd one should've worked.

//if (abc !isin abacd) echo -a true $v1 vs $v2 | else echo -a false $v1 vs $v2

Joined: Jul 2007
Posts: 66
B
beer Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jul 2007
Posts: 66
Tried the 3rd one again and now it's working so I must have had a typo or something before. Thanks maroon!


Link Copied to Clipboard