b0sse, if regex, for any reason, doesn't work for you. There is an easy fix:
Change these two lines of code:> if ($regex(%ins,/.+you(.+)<\/span>/)) {
$sock(ins).mark $regml(1) To these:
if ($remove($token(%ins,6,60),br>you)) {
$sock(ins).mark $ifmatch
You can use $v1 in place of the $ifmatch, but I figure you might be running an old version of mIRC, so I choose $ifmatch just in case.
If you use $gettok or $token along with the $v1, it actually shortens the script size further in about 4 to 7 bytes (though it's only a little) than using regex. :/
Anyway, this is a very entertaining, funny and useful snippet every one will have a laugh of. I rated an 8 along with my likes.