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

xdcc filter
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=101
Seite 1 von 1

Autor:  Sephiroth [ 1. März 2009 00:26 ]
Betreff des Beitrags:  xdcc filter

No help, no support, nothing else :P
alias query {
  !var %x = $2-
  !tokenize 44 $1
  if ($istok($xdccn,$network,32)) {
    xdccn $* %x
  }
  else {
    !query $* %x
  }
}
alias -l xdccn {
  ; Add the networks here ;)
  if ($isid) { return Abjects Rizon Another_Network }
  if (!$window($+(@,$1))) { !window -ek0 $+(@,$1) }
  else { !window -a $+(@,$1) }
  !filter -wcpbw $comchan($1,1) $+(@,$1) $+(*,$1,*#?*x [*)
}
on *:input:*:{
  if ($istok($xdccn,$network,32)) {
    !var %n = $right($target,-1)
    if (%n isvoice $comchan(%n,1)) {
      if ($1- isnum) {
        !.msg %n xdcc get $+($chr(35),$1-)
      }
      elseif ($1- == remove) {
        !.msg %n xdcc remove     
      }
      else {
        !.editbox $target Please type the packnumber to request that package or remove to get removed from the queue.
      }
    }
  }
}

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