Actually it's a result of this bug report.

From versions.txt

77. When in the Script Editor mIRC no longer considers itself the
active application, this allows flash/beep/etc. events to trigger.