Top

Highlighter Log


mIRC Code
+ 6 likes
Please Register to submit score.
Bookmark and Share
Average Score  7.3 (of 7 scores)
Date Added  Aug 26, 2008
Last Updated  Apr 25, 2009
Tags  highlight  highlighter  nick 

Introduction

Eh, this is the first one I ever posted, so don't be too hard on me, eh? :)

Introduction:
Basically, I was tired of getting notices for whenever someone highlighted me, and if someone AMSGed me, i would get a ton of notices, so i decided to modify it so it goes in a window called @highlighter, which some people critic because they say a window wouldn't notify them well enough. All I have to say to that is that the window changes colors on my screen whenever text is added to the window, so that is enough of an alert for me, and I would prefer if all the highlights didn't get lost in endless conversations in chans, like notices would.

Function:
All you have to do is paste it in your remotes section of script editor and hit the F2 key to turn it on and off. If F2 is already doing a different command, change it to your desired F-key. The script will echo highlights when someone says, describes, notices or uses your name in a raw mode. It will also log when someone invites you to a room. It will ignore highlights if they come from a bot, but you have to edit the list of bots; the current example is "ChanServ MemoServ OperServ NickServ". If there are other bots you don't want highlights from, add their name. For example:

set %botlist Botname1 Botname2 Botname3

Updates:
August 26, 2008: Thanks for the comment on how to fix the problem, I've corrected it.
September 26, 2008: Thanks for your furthur comments, I updated it again with offsite help as well.
December 6, 2008: Updated for nick highlights using multiple colors.
December 7, 2008: Forgot to make it echo an entire sentence instead of just the nick, updated again x.x
December 21, 2008: Changed menu to function key.
January 22, 2009: Updated for notice highlights and raw modes including your nick.
January 23, 2009: Thanks to some advice from a friend, I added a feature to ignore bots when they highlight.
January 25, 2009: Now logs invites and minor edit to %botlist variable.
April 25, 2009: Tweaked color formatting and added line breaks for easier navigation.

Picture:
Picture of the highlighter in every event covered above, respectively, on action highlight, a notice, a raw mode highlight, on text highlight and an invite.



Grab the Code

alias F2  {
  if ($group(#highlighter) == off) {
    .enable #highlighter
    echo -a Highlighter is On
    set %botlist ChanServ MemoServ OperServ NickServ
  }
  elseif ($group(#highlighter) == on) {
    .disable #highlighter
    echo -a Highlighter is Off
    unset %botlist
  }
}
 
#highlighter on
on $*:text:$(/ $+ $me $+ /iS):#: {
  if ($istok(%botlist,$nick,32)) return
  if ($chan != $active) {
    window -De @highlighter 0 0 450 160 arial 13
    echo -t @highlighter $time(7(03h07:03nn TT7)) 3 $+ $nick 12said your nick in the channel3 $chan 12on the network3 $network 12and said7:3 $1-
    echo -t @highlighter 7--------------------
  }
}
on $*:action:$(/ $+ $me $+ /iS):#: {
  if ($istok(%botlist,$nick,32)) return
  if ($chan != $active) {
    window -De @highlighter 0 0 450 160 arial 13
    echo -t @highlighter $time(7(03h07:03nn TT7)) 3 $+ $nick 12described your nick in the channel3 $chan 12on the network3 $network 12and said7:3 $1-
    echo -t @highlighter 7--------------------
  } 
}
on *:notice:*:?: {
  if ($istok(%botlist,$nick,32)) return
  else {
    window -De @highlighter 0 0 450 160 arial 13
    echo -t @highlighter $time(7(03h07:03nn TT7)) 3 $+ $nick 12noticed your nick on the network3 $network 12and said7:3 $1-
    echo -t @highlighter 7--------------------
  }
}
on *:rawmode:#: {
  if ($istok(%botlist,$nick,32)) return
  if ($chan != $active) && ($me isin $1-) {
    window -De @highlighter 0 0 450 160 arial 13
    echo -t @highlighter $time(7(03h07:03nn TT7)) 3 $+ $nick 12used your nick in a mode in the channel3 $chan 12on the network3 $network 12and said7:3 $1-
    echo -t @highlighter 7--------------------
  }
}
on *:invite:*: {
  if ($istok(%botlist,$nick,32)) return
  else {
    window -De @highlighter 0 0 450 160 arial 13
    echo -t @highlighter $time(7(03h07:03nn TT7)) 3 $+ $nick 12invited you to the channel3 $chan 12on the network3 $network
    echo -t @highlighter 7--------------------
  }
}
#highlighter end
 

Comments

  (14)  RSS
IFHTT
Comments: 13
 
mIRC Snippet:  Highlighter Log
Posted on Aug 26, 2008 1:06 pm
if you want the window to appear after you've been nickalerted move "window -De @highlighter 0 0 450 160 arial 13" into the else statement

So

Code:

on *:text:*:#: { window -De @highlighter 0 0 450 160 arial 13
  if ($me isin $1-) {
    if ($chan == $active) { halt }
...


to

Code:

on *:text:*:#: {
  if ($me isin $1-) {
    if ($chan == $active) { halt }
    else {
      window -De @highlighter 0 0 450 160 arial 13
      echo -t @highlighter 6* 13 $+ $nick 1called you at13 $time 1on channel13 $chan 1on the network13 $network 1and said6:13 $1-
....

MoeEpsilon
Comments: 10
 
mIRC Snippet:  Highlighter Log
Posted on Aug 26, 2008 3:31 pm
Thanks IFHTT.
Akishoot
Comments: 139
 
mIRC Snippet:  Highlighter Log
Posted on Sep 3, 2008 1:20 pm
You could also replace the /'s in front of "/disable" and "/enable" with periods (.) to hide the notifications in the status window.
MoeEpsilon
Comments: 10
 
mIRC Snippet:  Highlighter Log
Posted on Sep 26, 2008 6:06 pm
thanks Akishoot I made the change, and thanks to Gummo who gave me a lil off-site review and gave me a pointer ;)
Bullet_Dodger
Comments: 310
 
mIRC Snippet:  Highlighter Log
Posted on Sep 26, 2008 6:09 pm
+1 Likes
;)
Bullet_Dodger
Comments: 310
 
mIRC Snippet:  Highlighter Log
Posted on Sep 26, 2008 6:13 pm
9/10 very good highlighter
omgnicecode
Comments: 2
 
mIRC Snippet:  Highlighter Log
Posted on Nov 26, 2008 2:36 pm
it dsnt work to me
MoeEpsilon
Comments: 10
 
mIRC Snippet:  Highlighter Log
Posted on Nov 29, 2008 9:30 pm
What seems to be the problem omgnicecode?

The only thing that I can seem to think of that some people told me about was this: if ($chan != $active) {. That part of the script that is written in the above snippet means that the script will not activate while you are in the channel you are being highlighted in. Test the script out by having someone highlight you in a channel you are not looking in at that moment.

If you have any other problems, come to /server chat.peercommons.net and come ask me there. My nick is David.
CharltonJ
Comments: 44
 
mIRC Snippet:  Highlighter Log
Posted on Apr 24, 2009 5:28 am
cool snippet David :D
MoeEpsilon
Comments: 10
 
mIRC Snippet:  Highlighter Log
Posted on Apr 24, 2009 5:30 am
thanks ;P
hy71194
Comments: 16
 
mIRC Snippet:  Highlighter Log
Posted on Apr 25, 2009 12:29 pm
Very nice. I like it.
Xpl0reR
Comments: 223
 
mIRC Snippet:  Highlighter Log
Posted on Apr 25, 2009 2:37 pm
nice script 9 / 10 +like :)
MoeEpsilon
Comments: 10
 
mIRC Snippet:  Highlighter Log
Posted on Apr 28, 2009 5:05 pm
thanks :)
XndR
Comments: 1
 
mIRC Snippet:  Highlighter Log
Posted on Jul 20, 2009 6:41 pm
How would I go about making it make this window display every time I get highlighted.

Like, if I had the window already open and I got highlighted I want this window to come to the front.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom