This has been requested in the past but an operator like "if ($1- ishl) { }" would be better: you could use it inside an on text event to know if you have to highlight, but you could use it anywhere else too.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel