All pastes #974438 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-04-06 20:05 UTC
rendered paste body
proc join:badjoin {n u h c} {
        global reason badnicks badtags
        foreach {$badnicks $badtags} {$ban $tag} {
                if {$n == $ban} || {[regexp -inline -- {[A-Za-z]+} $n] == $tag} {
                        putquick "MODE $c +b *![getchanhost $n $c]"
                        putquick "KICK $c $n :$reason"
                        newchanban $c "*![getchanhost $n $c]" $h "$reason"

                }
        }
}