mIRC Homepage
Posted By: Krawalli If commands in one line? - 22/12/14 02:02 PM
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 } ?
Posted By: SBDOnslaught Re: If commands in one line? - 22/12/14 02:18 PM
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
© mIRC Discussion Forums