Clear Highlights

By FordLawnmower on Apr 25, 2010

Clears Highlights/Colors from your treebar/switchbar.
Simple little snippet but it always helps me after being idle for a long time. Just type /chall to reset :)

/chl clears highlights for the active network.
/chall clears highlights for all networks
Or just right click channel or status and goto Clear Highlights.

What is cleared?:

  • Window(ie. Message Window,Status Window,etc.)
    All @windows, All channels, All Queries

Just ignore the $ :P
I know it's undocumented but at this point in the script I was just going to make an alias that did the same thing as
$
.
They should just document this identifier already!

;ClearHighlights by Ford_Lawnmower irc.geekshed.net #Script-Help
menu channel,status,menubar {
  Clear Highlights
  .All:chall
  .$network:chl
}
alias CHAll scon -a CHL
alias CHL {
  tokenize 7 window *window,0 *window,window 0 chan 0query 0
  ClThis $*
}
alias -l ClHls window -g0 $qt([ $+($,$1) $+ ( [ $2- ] ) ])
alias -l ClThis {
  var %a $1, %c $3
  noop $regsubex($str(.,[ $+($,$1) $+ ( [ $2 ] ) ]),/\./g,$ClHls(%a,%c,\n))
}

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.