on $*:TEXT:/^[!@.](tb|tempban)/Si:#PCPlace: {
if ($2 !ison $chan) {
.notice $nick $2 has to be on the channel before they can be muted
halt
}
if ($3 == $null) {
.notice $nick You must specify the amount of time in minutes.
halt
}
if ($3 > 5) {
.notice $nick The bantime must be five minutes or less
halt
}
if ($2 !isreg $chan) {
.notice $nick You cannot ban staff members.
halt
}
if ($nick !isreg $chan) {
ban $+(-ku,$calc($3 * 60)) $chan $2 2 Reason: $+($4-,$chr(41)) $+($chr(40),$3) minutes
halt
}
.notice $nick This command is restricted to Voices, Half-Operators and Operators.
}