You can't type /break since mIRC is busy looping infinitely.

/break is an mirc command that can be used within a script in a while loop, but does not provide the same functionality as ctrl+break does.