All pastes #632308 Raw Edit

Someone

public text v1 · immutable
#632308 ·published 2007-07-24 19:36 UTC
rendered paste body

alias c1 { return $+(,$1-) } 
alias c2 { return $+(,$1-) } 
alias c3 { return $+(,$1-) } 
alias -l Moreusers { return 3 } 
on *:kick:#: { 
  if ($knick == $me) { 
    inc $+(%,kick.,$chan) 
    if ($($+(%,kick.,$chan),2) > 4) { 
      /writeini black.ini bans $chan banned 
      unset $+(%,kick.,$chan) 
    } 
  } 
} 
on me:*:join:#: { 
  if $ini(black.ini,bans,$chan) { 
    part $chan $c1 This channel has Been blacklisted To have this removed please contact $c2 Shade` or join #dm-ownage and talk to our staff. 
  } 
  if ($istok($Notopicchans,$Chan,32)) { HALT } 
  if ($($+(%,kick.,$chan),2)) var %left = $+($calc(5 - $v1),/5) 
  else var %left = 5/5 
  msg $chan $c1 [WARNING] This is the Shade's Bot. If i am kicked $c2 5 $c1 Times this channel will be blacklisted. $c2 %left kicks left . To make me part: !part $me. For my command list type !commands. If you have found a bug please contact `Shade` or go to #dm-ownage.
  if ($istok($Allowlist,$Chan,32)) { HALT } 
  else {  
  } 
} 
alias -l PplCheck { 
  if ($nick($1,0) < $moreusers ) { 
    part $1 $leavemsg 
  } 
  else { HALT } 
} 

on *:PART:#:{ 
  if ($istok($allowlist,$Chan,32)) { HALT } 
  if ($nick != $me) && ($nick(#,0) <= $Moreusers) { 
    part $chan $leavemsg 
  } 
}