No, this really does not work. checking if $0 == 1 && $1 isnum is not enough to make it correct, as explained in this thread. My argument remains, having an operator for if statement like ishl would be much better than an event such as on highlight, on highlight would not allow you to check for highlight against any given string, which would be limited.

Bumping this because it came up on IRC again, even if there is actually a way to script this, it becomes non trivial, an ishl operator would be very nice to have.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel