How do you suggest mIRC takes it into account?
The only thing I can see is what you said, getting mIRC into a 'non-server' state where it wouldn't send commands to the server as a last try, it would instead error out with the typical scriptfile/line number informations.