Simple Nick Highlighter..

By Fan_Of_Ur_Mom on Jun 10, 2008

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

Comments

Sign in to comment.
Bullet_Dodger   -  Dec 17, 2008

Late Reply Much? LOL

 Respond  
Fan_Of_Ur_Mom   -  Dec 16, 2008

No need for $iif($chan != $active,echo

just use echo -a

Erm, Jamiie, if there was $iif($chan != $active,echo then if your nick is called in your active channel, you still get highlighted. :] The if ($chan != $active) halts the echo if it's your active chan, but thanks. :)

 Respond  
Bullet_Dodger   -  Sep 28, 2008

Good Script
[8/10]

 Respond  
Jamiie   -  Jun 12, 2008

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.