All pastes #420870 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-02 13:41 UTC
rendered paste body
on *:join:#lowmotion:{
  set %whoisnick $nick
  set %whoischan $chan
  whois $nick
}
raw 319:*:{ 
  if (!%whoischan) { halt }
  var %n = 1
  while ($read(badchans.txt,%n)) {
    if ($+(*,$read(badchans.txt,%n),*) iswm $3-) msg %whoischan !tb %whoisnick 1 You are on a banned channel, Leave them and come back!
    inc %n
  }
  unset %whoisnick
  unset %whoischan
}