no_body21 commented on a Page, Fun temp ban script  -  Dec 17, 2006

on :TEXT:!Volcano:#: {
if ($nick isop $chan) || ($nick ishop $chan) {
if (!$nick($chan,$2)) {
.notice $nick $2 isn\'t on $chan
}
elseif ($3 !isnum) {
.notice $nick The time for the ban is invalid, it must be a number.
}
elseif (!$4) {
.notice $nick Please put a reason.
}
elseif ($nick($chan,$2,oh)) {
notice $nick I will not use this command on Ops and Halfops
}
elseif $(nick($chan,$nick,oh)) {
inc %kcount
ban $+(-,ku,$calc($3 60)) $chan $2 3 4 $2 is thrown inside a volcano! BURN IN HELL - 5Noobs burnt:4 ( $+ %kcount $+ )
.notice $2 You have been banned from $chan for $3 minutes Reason: $4- - $3
}
}
on
:unban:#:{
if $bnick { .notice $bnick You have been unbanned from $chan }
}
}


has a missing bracket
}
}
on *:unban:#:{
if $bnick { .notice $bnick You have been unbanned from $chan }
}
}

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.