Interesting bug.
I'm guessing this happens because mIRC looks for an else/elseif-statement immediately after a failed if-statement, so when it comes to choosing which error to display, it simply checks for the presence of this failed if state flag.
- Raccoon