Sephiroth
http://sephiroth.scifi-action.de/board/

Highlight Soundfix
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=6
Seite 1 von 1

Autor:  Sephiroth [ 17. März 2008 23:57 ]
Betreff des Beitrags:  Highlight Soundfix

;;
;; 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] }
}

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/