mIRC Home    About    Download    Register    News    Help

Print Thread
IF does not mean ELSEIF #183607 21/08/07 09:22 AM
Joined: Mar 2006
Posts: 393
T
The_JD Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Mar 2006
Posts: 393
I found a small bug... Not a real problem though, But should be addressed.

Code:
alias test {
  if ($1) return 1
  if ($2 return 2
}


The problem is that the error reply is
Quote:
* /elseif: invalid format

It should be:
Quote:
* /if: invalid format


I think i've seen it in a prior version, but I can't remember for sure.

Anyhow its verified as present in mIRC 6.3


[02:16] * Titanic has quit IRC (Excess Flood)
Re: IF does not mean ELSEIF [Re: The_JD] #183610 21/08/07 09:28 AM
Joined: Mar 2006
Posts: 393
T
The_JD Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Mar 2006
Posts: 393
Seems not many people like the new version...

I do wink Thanks Khaled.


[02:16] * Titanic has quit IRC (Excess Flood)
Re: IF does not mean ELSEIF [Re: The_JD] #183612 21/08/07 09:33 AM
Joined: Jul 2006
Posts: 3,764
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,764
Yes i've already seen this error happened in previous version


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: IF does not mean ELSEIF [Re: The_JD] #183661 21/08/07 04:11 PM
Joined: Dec 2002
Posts: 4,917
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,917
Thanks this has been fixed for the next version grin