If the confirm exit window is open and a timer running with "exit -n" or "exit -nr" command then the mIRC does not bypass the confirm window to exit the mIRC.
I can reproduce, using the beta (win7), /exit brings up the confirmation window, in the background you can see the timer being activated and halted, but mIRC didn't exit
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Sorry, I did not realize that the issue was with a double /exit. I can reproduce with the code provided. I do wonder if this might be intentional, though.
It's not only just an double /exit , if you click into the X button and the Confirm Window will open and an code will use /exit -n or -nr then the mIRC will not exit too, here the problem is that the mIRC stop the /exit -n command if the confirm window is open but it shouldn't.