As a sidenote, not related to that script, but the original question, if you have your sounds enabled, mIRC will beep when a message hits the networks truncation point, and for each character above that point... or at least it does for the various networks that I have tested this on, either accidentally, or on purpose.