Just copy and put in the remotes.
It will warn you on the active window, PM or not, that someone said your nick in a chan that you are in. It doesn't work if someone sais on a PM. It'll say the nick, the chan and the message that contained your nick. If you're away it'll not warn you.
It's my first snippet so you could expect some bugs. Another thing is that it doesn't have multiserver capabilities.
on 1:TEXT:$(* $+ $me $+ *):#: { if ( $active == $chan ) /halt
elseif ( $away == $false ) .echo $active $nick said in $chan : $1-
}
Your code will not work rapid , there is no trigger in the on text event and its missing a bracket, also this part : if ($me isin $1-) && ($away = $false) && ($chan = $active) {
.echo -a $nick @ $chan $+ : $1-
halt
}
isnt needed since mIRC shows your nick said on the active channel.
here is a simple code for those nick highlights :
on :text:$($+(,$me,*)):#: Window @highlights | if ($chan != $active) .echo -bf @highlights $fulldate $chan : $nick : $1-