I agree, in fact, I've noticed several times before, in a series of if statements, that on odd occasions, it will return an /elseif error when there is no else if statement.

I figure this to be that mIRC (when going through scripts) will treat the first if statement as it should, and if there is one after the initial statement, and the initial if hasn't met the criteria, it treats it like an else if.

Of course, I could be very wrong.