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