Simple Nick Highlighter

By Herc08 on Oct 03, 2014

So here is a simple highlight that I thought could be better than a few beeps. It works by being called upon in a channel. Once it its triggered, it will put a balloon tip only if your are not on the channel. It also triggers when mIRC is not the active application. Also, when you double click on the balloon tip, it will take your straight to the channel. Again, very simple, but handy if you are doing multiple things, but still use mIRC.

NOTE: You can change "OtherNick" to something else. For me, I have multiple names, sometimes "Herc" is also used.

on *:text:*:#: {
  if ($+(*,$me,*) iswm $1-) || (*OtherNick* iswm $1-) {
    if (!$appstate) || ($chan != $active) {
      noop $tip(hl,Mentioned in $chan on $network,$+(<,$nick,>) $1-,$null,$null,$null,goToChan $chan $cid) 
    }
  }
}
alias goToChan { if (!$appstate) || ($1 != $active) { showmirc -s | scid $2 window -a $1 } }

Comments

Sign in to comment.
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.