mIRC Home    About    Download    Register    News    Help

Print Thread
#249905 22/12/14 02:02 PM
Joined: Aug 2014
Posts: 42
K
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Aug 2014
Posts: 42
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 } ?

Joined: Dec 2014
Posts: 23
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Dec 2014
Posts: 23
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