Fun temp ban script
+ 0 likes
Please Register to submit score.
| Average Score | 5.0 |
| Scores Submitted | 1 |
| Date Added | Dec 17, 2006 |
| Last Updated | Dec 18, 2006 |
| Tags | ban fun temp temporary volcano |
Introduction
Command is: !volcano (nick) (minutes) (reason)
When they are unbanned it will notice them if they are still online.
It also gives protection to Ops and Halfops.
mIRC Snippet:
Fun temp ban script
Posted on Dec 17, 2006 8:17 am
Posted on Dec 17, 2006 8:17 am
Its nice, i like it.
mIRC Snippet:
Fun temp ban script
Posted on Dec 17, 2006 8:35 am
Posted on Dec 17, 2006 8:35 am
Thanks, this one and the whois lookup have got to be some of the best scripts i\'ve made.
mIRC Snippet:
Fun temp ban script
Posted on Dec 17, 2006 11:18 am
Posted on Dec 17, 2006 11:18 am
haha, funny ^.-
mIRC Snippet:
Fun temp ban script
Posted on Dec 17, 2006 11:54 am
Posted on Dec 17, 2006 11:54 am
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 }
}
}
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 }
}
}
mIRC Snippet:
Fun temp ban script
Posted on Dec 17, 2006 1:33 pm
Posted on Dec 17, 2006 1:33 pm
I see no difference between my version and your version of the unban part.
mIRC Snippet:
Fun temp ban script
Posted on Dec 18, 2006 10:41 am
Posted on Dec 18, 2006 10:41 am
elseif $(nick($chan,$nick,oh)) { <-- ($nick($chan,$nick,oh)) ?
has a missing bracket
}
}
on *:unban:#:{
if $bnick { .notice $bnick You have been unbanned from $chan }
}
} <-- it needs to be:
on *:UNBAN:#:(notice space here, better for the mirc. ;)) {
if ($bnick) { .notice $bnick You have been unbanned from $chan }
}
Also, I don\'t see why it would work at all, missing brackets...
Where does $bnick come from? i don\'t see an alias with return.....
has a missing bracket
}
}
on *:unban:#:{
if $bnick { .notice $bnick You have been unbanned from $chan }
}
} <-- it needs to be:
on *:UNBAN:#:(notice space here, better for the mirc. ;)) {
if ($bnick) { .notice $bnick You have been unbanned from $chan }
}
Also, I don\'t see why it would work at all, missing brackets...
Where does $bnick come from? i don\'t see an alias with return.....






