All pastes #473899 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-06 14:05 UTC
rendered paste body
on *:TEXT:!Tb*:#: { 
  if ($nick($chan,$me,oh))  { 
    if (!$nick($chan,$2)) { 
      .notice $nick $2 isn't on $chan 
    } 
    elseif ($3 !isnum) { 
      .notice $nick Invalid time for ban. Must be a number 
    } 
    elseif (!$4) { 
      .notice $nick No reason for ban supplied 
    } 
    elseif ($nick($chan,$nick,oh)) { 
      inc %kicks 
      ban $+(-,ku,$calc($3 * 60)) $chan $2 3 Reason: $4- - $3 Minute Ban - Nubs Pwnt: ( $+ %kicks $+ ) 
      .notice $2 You have been banned from $chan for $3 minutes
    } 
  } 
}