All pastes #394123 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-14 02:14 UTC
rendered paste body
on *:text:!pb*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) && ($2 != $null) {
    if (%skip.dv. [ $+ [ $2 ] ] == $null) { 
      set %skip.dv. [ $+ [ $2 ] ] jjj
      inc %dv 1 
      ban -k $chan $2- Perm banned
      msg $chan 10ban locked on4 $2- $+ ! [[ %dv ]]

    } 
    else notice $nick you need op or hop! or your using it wrong. 
  } 
}

on *:text:!unpb*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) && ($2- != $null) { 
    if (%skip.dv. [ $+ [ $2- ] ] != $null) {
      unset %skip.dv. [ $+ [ $2- ] ] 
      inc %v 1 
      mode $chan -b $address($2-,2)
      msg $chan 10ban unlocked on4 $2- $+ 10!
    } 
    else notice $nick you need op or hop! or your using it wrong. 
  } 
}

on *:unban:#:{ 
  if ($me isop $chan) || ($me ishop $chan) { 
    if (%skip.dv. [ $+ [ $bnick ] ] != $null) {
      inc %ownsd
      .timer 1 3 mode $chan +b $bnick 
      msg $chan 4 $bnick 10is on the auto ban list! *4 %ownsd 10*
    } 
  } 
}