mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2004
Posts: 1,949
maroon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,949
begins in beta 1275, always matches $true condition for n1 isnum n2-

Code
alias isnumtest {
  if (1 isnum 3-) echo -a *fail $v1 isnum $v2
  else echo -a *ok $v1 !isnum $v2
  if (1 isnum 3-9) echo -a *fail $v1 isnum $v2
  else echo -a *ok $v1 !isnum $v2
}

*fail 1 isnum 3-
*ok 1 !isnum 3-9

Last edited by maroon; 31/10/22 10:49 PM.
Joined: Dec 2002
Posts: 5,230
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,230
Thanks this has been fixed for the next version.


Link Copied to Clipboard