Simple Highlight Script

By Vitr on Apr 06, 2010

A simple highlight script that opens a new window and says the date, time and channel on which you were highlighted. Remember to insert your nick or the term you wish to be highlighted on where I have put NICK.

on *:text:*NICK*:#:{
  if ($nick != BotNameHere) {
    if ($nick != BotNameHere) {
      if ($nick != BotNameHere) {
        /window -a @HIGHLIGHT
        /aline @HIGHLIGHT $date $time $nick has highlighted you on $network - #
      }
    }
  }
}
on *:action:*NICK*:#:{
  if ($nick != BotNameHere) {
      if ($nick != BotNameHere) {
        /window -a @HIGHLIGHT
        /aline @HIGHLIGHT $date $time $nick has highlighted you on $network - #
      }
    }
  }
;This script was made by Vitr
;IRC vHost is Someone@Not.Telling.You.Who
;Do not reproduce this script without my permission
;You may use this script without my permission but do not claim it as your own.

Comments

Sign in to comment.
Jethro   -  Apr 06, 2010

vitr, you could use:

if (!$istok(botname1 botname2 botname3,$nick,32)) {

This'll exclude those bot names from triggering the code.

 Respond  
Vitr   -  Apr 06, 2010

Faydrums: I honestly have no idea what BNC is but the window stays open constantly until you close it.

Sasha: Nothing, that's for different bots ;p Although you could use variables, but I don't know how to do that. This is more intended for single network use where you only have a few bots that you want to ignore. It's just I had a few bots/people that I was ignoring highlights from so I'd left them in there and couldn't be bothered to take the lines out, I just replaced the nicks with the bot name.

 Respond  
Sasha   -  Apr 06, 2010

Whats the difference between:

"if ($nick != BotNameHere) {"

and

"if ($nick != BotNameHere) {
if ($nick != BotNameHere) {
if ($nick != BotNameHere) {" ? :)

 Respond  
Faydrums   -  Apr 06, 2010

I love this but, could u show me how to make it stay open and log my highlights when my BNC is on?

 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.