Public feed #723791

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-10-03 01:12 UTC
rendered paste body
alias tkb {
  if ($2 isprotect $chan) { echo $3 is +a, you can't kb them. }
  elseif ($1 == $null) { echo to KB someone for an amount of time use this format: $&
    /tkb nick time (in minutes) reason | halt }
  elseif ($2 == $null) { echo to KB someone for an amount of time use this format: $&
    /tkb nick time (in minutes) reason | halt }
  elseif ($3 == $null) goto one
  else goto two
  :one
  ban -ku $+ $calc( $2 *60) $chan $1 2 $&
    You have been banned for4 $2 3 $+ minutes.
  :two
  ban -ku $+ $calc( $2 *60) $chan $1 2 $&
    You have been banned for4 $2 3 $+ minutes. Reason:4 $3-
}