script generated text cannot be catched by any event
mIRC itself handles the change of a window by either beeps and/or tab colouring. ie. on a channel event, the normal colour change is to green, and for text is to red.
Would be nice to have an 'on event' or 'on change' code as it appears there isn't anything to catch this, which is annoying.
And the timer thing isn't very good as it will leave a large delay if an event comes in as soon as the timer has checked something, as it would have to wait nearly a second later before its picked up. In which time, more than one line could have been sent, meaning you would have more scripting needed to count the lines between checks etc.