All pastes #272730 Raw Edit

Stuff

public text v1 · immutable
·published 2006-12-09 06:09 UTC
rendered paste body
alias -l minusers { return 5 }
on *:INVITE:#: { 
  alias -l pplcheck {
    if ($nick($1,0) < $minusers ) {
      /msg $chan Sorry but your channel dosent have enuff people.
      /part $chan 
      halt
    }
    alias -l pplcheck {
      if ($nick($1,0) >= $minusers ) {
      /timer1 1 1 msg $chan Scanning for blacklist..... }
      if ($chan == $readini( blacklist.ini, channels, $chan )) { 
        /timer2 1 5 msg $chan $+ $chan has been blacklisted for: $readini(blacklist.ini,reasons,$chan) $+ 
        /timer1 1 1 /part $chan
        /goto end
      }
      else  
      join $chan 
      timer3 1 6  msg $chan PDbot has been invited to $chan by $nick 
      if ($ini(kcount.ini,kickcount,$chan) == $null) {
        halt
      } 
      else { 
        timer4 1 7 msg $chan PDbot has been kicked before, $chan $+ 's kick count is $readini(kcount.ini,kickcount,$chan) $+ / $+ $readini(botsettings.ini,maxkickcount,maxkcount) 
        :end
      }
} } }