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

/join *fix*
http://sephiroth.scifi-action.de/board/viewtopic.php?f=4&t=99
Seite 1 von 1

Autor:  Sephiroth [ 18. Februar 2009 21:59 ]
Betreff des Beitrags:  /join *fix*

; Made that long time ago to avoid this stupid /join #0,0 jokes ;)
; feel free to use it
alias join {
  !var %i = $numtok($1,44)
  while (%i) {
    !var %chan = $gettok($1,%i,44)
    !var %pos = $findtok($1,%chan,1,44)
    if (%chan == 0) {
      !echo $color(info) -ag * Removed channel "0" from join command (possible misstyped), if you really wanna part all channels type /partall
      !tokenize 32 $deltok($1,%pos,44) $2-     
    }
    dec %i
  }
  !join $1-
}

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