i still don't know why people avoid using mIRC's inbuilt highlight detection ($highlight()) rather than (poorly) reinvent the wheel :P