Just made a similar one using this snippet as a base(err...maybe just modifying) and find it slightly more of use to me, hope you dont mind posting the modified version here.
on *:TEXT:*:*: {
if ($highlight($1-)) {
if (($version == 6.31) && (!%tip. [ $+ [ $chan ] ])) {
noop $tip(\'Tray Tip\',$chan , $nick just said $1-, 10)
set -u20 %tip. [ $+ [ $nick ] ] true
}
}
}