mIRC Home    About    Download    Register    News    Help

Print Thread
#249905 22/12/14 02:02 PM
K
Krawalli
Krawalli
K
Hey,
for example i have this if commands:

if ($nick !isop #) { return }
if ($2 != $null) { return }
if ($2 isalnum) { return }

Is it poossible to bring all this in one line with one result: { return } ?

S
SBDOnslaught
SBDOnslaught
S
Euh have you tried or statements?

I'm fairly new at mirc myself but you can try this
Quote:

if ($nick !isop # || $2 != $null || $2 isalnum ) { return }


if that doesn't work, try
Quote:

if (($nick !isop #) || ($2 != $null) || ($2 isalnum)) { return }

and if that doesn't work, well im all out of ideas. :P


Link Copied to Clipboard