Top

Simple Nick Highlighter..


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  2.3
Scores Submitted  3
Date Added  Jun 10, 2008
Last Updated  Jun 10, 2008
Tags  highlight  regex 
  Bookmark and Share

Introduction

I'm just learning regex.. So be nice.. Lol..

The first one will highlight you for the current nick you're using... And the second one will highlight you if your nick is mentioned in a /me... If you have any other nicks that highlight you such as your real name just replace the <Nick Here> on the third script... If not.. Then don't take the third script... Lol...

If there's anything wrong let me know... Comment/score plz kthx.

Grab the Code

Comments

  (2)  RSS
Jamiie
Comments: 123
 
mIRC Snippet:  Simple Nick Highlighter..
Posted on Jun 12, 2008 3:06 pm
No need for $iif($chan != $active,echo

just use echo -a

Code:

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
Gummo
Comments: 107
 
mIRC Snippet:  Simple Nick Highlighter..
Posted on Jun 19, 2008 12:02 am
\"I\'m just learning regex\"
..Didn\'t I give you the regex for on $*:text:$(/ $+ $me $+ /iS):#: ?

Please Register or Login to start posting comments.
Bottom