Anonymous
public text v1 · immutableon *:TEXT:!tb*:#:{
if ($nick isop $chan || $nick ishop $chan || ($address($nick,2) == $address($me,2))) {
if (!$2 || $3 !isnum) {
notice $nick You must supply in this format: !tb <nick> <minutes> <reason>
}
if ($2 == $me) { ban -ku300 $chan $nick 3 1Reason:2 Dont timeban me 5 minute ban. }
else {
ban -ku $+ $calc( $3 * 60 ) $chan $2 3 1Reason:2 $4- 4[ $+ $3 Minute Ban Requested by $nick $+ ] }
}
}