Updated
On this one if you have several nicks you wish to have highlight you just change the line from
$(/ $+ $me $+ /iS):#: {
To:
$(/\b(nick|\Q $+ $me $+ \E)\b/iS:#: {
For more nicks just add another "|nickhere|" for example $(/\b(Fan_Of_Ur_Mom|Fan|FOUM|\Q $+ $me $+ \E)\b/iS:#: {
if you need help with this contact me on my network; /server -m fan.dx3k.com
I'll be more than glad to help. :)
;;;;;;;;;;;;;;;;For just one nick use this.;;;;;;;;;;;;;;;;
menu menubar,channel,query {
$iif($group(#Highlights) == Off,Highlights [Off],Highlights [On]):{
$iif($group(#Highlights) == Off,.enable #Highlights,.disable #Highlights)
echo -a Highlights are now $group(#Highlights)
}
}
#Highlights on
on $*:text:$(/ $+ $me $+ /iS):#: { $iif($chan != $active,echo -a ( $+ $time(h:nn:ss TT) $+ ) ( $+ $nick $+ ) highlighted you on ( $+ $chan $+ ) with the message: $qt($1-) }
on $*:action:$(/ $+ $me $+ /iS):#: { $iif($chan != $active,echo -a ( $+ $time(h:nn:ss TT) $+ ) ( $+ $nick $+ ) highlighted you in a (/me) on ( $+ $network $+ ) in ( $+ $chan $+ ) with the message: $qt($1-)
}
#Highlights end
;;;;;;;;;;;;;;;;For multiple nicks use this script.;;;;;;;;;;;;;;;;
menu menubar,channel,query {
$iif($group(#Highlights) == Off,Highlights [Off],Highlights [On]):{
$iif($group(#Highlights) == Off,.enable #Highlights,.disable #Highlights)
echo -a Highlights are now $group(#Highlights)
}
}
#Highlights on
on $*:text:$(/\b(nick|\Q $+ $me $+ \E)\b/iS:#: { $iif($chan != $active,echo -a ( $+ $time(h:nn:ss TT) $+ ) ( $+ $nick $+ ) highlighted you on ( $+ $chan $+ ) with the message: $qt($1-) }
on $*:action:$(/\b(nick|\Q $+ $me $+ \E)\b/iS):#: { $iif($chan != $active,echo -a ( $+ $time(h:nn:ss TT) $+ ) ( $+ $nick $+ ) highlighted you in a (/me) on ( $+ $network $+ ) in ( $+ $chan $+ ) with the message: $qt($1-)
}
#Highlights end
No need for $iif($chan != $active,echo
just use echo -a
on *:text:*:#: {
if ($me isin $1-) {
echo -a ( $+ $time(h:nn:ss TT) $+ ) $nick highlighted you on $network in $chan with the message: $1-
}
if ($anick isin $1-) {
echo -a ( $+ $time(h:nn:ss TT) $+ ) $nick highlighted you on $network in $chan with the message $1-
}
}
on *:action:*:#: {
if ($me isin $1-) {
echo -a ( $+ $time(h:nn:ss TT) $+ ) $nick highlighted you on $network in $chan with the message: $1-
}
if ($anick isin $1-) {
echo -a ( $+ $time(h:nn:ss TT) $+ ) $nick highlighted you on $network in $chan with the message $1-
}
}
I just think it\'s easier to write with that instead of $iif