;;
;; Highlight Quickfix cuz mIRC still has no /highlight alias to turn it on/off
;; Only needed if you use Sounds withhin a highlight.
;;
#highlight on
on *:TEXT:*:*:{ _stop $1- }
on *:ACTION:*:*:{ _stop $1- }
on *:CHAT:*:{ _stop $1- }
on 1:SERV:*:{ _stop $1- }
alias -l _stop { if (($highlight($1-)) && ($1- !isnum 1- $+ $highlight(0))) { .splay stop } }
#highlight end
alias highlight {
if ($1 == on) { .disable #highlight | echo $color(info) -a * Enabled Highlight }
elseif ($1 == off) { .enable #highlight | echo $color(info) -a * Disabled Highlight }
elseif (!$1) { echo $color(info) -a Highlight is: $iif($group(#highlight) == on,off,on) }
else { echo $color(info) -a * Usage: /highlight [on|off] }
}