@pball: Please don't act like a dick to people who are trying to help you. This is not how you get what you want. For something as easily scriptable and non-requested as this, I don't think mIRC is going to support this natively, so your best option here is to be nice to the people helping you, otherwise you're basically going to have to script it on your own. Perhaps you should think about that before putting on that aggressive tone of yours.

On a related note, I don't see anything wrong with hixxy's code. Given that you haven't tried it for very long, what exactly can you tell us is wrong with it?

edit: a regex more like the following would work better, by the way:

Code:
  alias rquote return $+(\Q,$replacecs($1,\E,\E\\E\Q),\E)
  alias nhighlight {
    return $regsubex($1,/(\x03(\d{1,2}(?:,\d{1,2})?).*?)?( $+ $rquote($me) $+ )/g, $+(\1,$chr(3),$iif($2,$2,4),\3,$chr(3),\2))
  }


You can then replace the nhighlight alias with the above.

Last edited by argv0; 18/03/10 08:26 PM.