Originally Posted By: LostShadow
Wow, weird how the /echo is like a halt or return.


No, it doesn't. It does, however, prevent ELSE/ELSEIF from doing anything. Anything else in the script will still happen... just not the ELSE/ELSEIF. If it acted like HALT/RETURN, nothing else would happen in the script.

Now, to explain...

If ELSE/ELSEIF could have various commands between it and the original IF, then mIRC would have a hard time trying to figure out which IF the ELSE/ELSEIF is supposed to be with. Sure, it could take the first IF preceding it, but that's not a great way to do things. I don't believe any language does it that way. If you break the IF/ELSEIF/ELSE format by inserting commands in the middle, then when mIRC gets to the ELSEIF/ELSE, it will have no idea what you're trying to compare and it will treat it the same as if you never had an IF statement.


Invision Support
#Invision on irc.irchighway.net