All pastes #473482 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-06 08:18 UTC
rendered paste body
on *:TEXT:!tb*:#:{
if (!$2) || (!$3) {
notice $nick correct syntax: !tb <name> <time(in minutes)> 
halt 
}
else {
  if ($nick ishop $chan || $nick isop $chan) { 
if (!$4) { 
set %reason. [ $+ [ $2 ] ] No Reason
else {
    set %reason. [ $+ [ $2 ] ] $4-
}
}
    inc %kcount
    ban -ku $+ $calc($3 * 60) $chan $2  2 
    msg $chan 4Reason: %reason. [ $+ [ $2 ] ] 1¤3 $$3 Minute Ban 1¤6 Requested By: $nick 1¤12 Noobs Pwnt: %kcount
    unset %reason. [ $+ [ $2 ] ]
  } 
}
}