Top

Unban All


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  1.0
Scores Submitted  1
Date Added  Sep 14, 2007
Last Updated  Sep 14, 2007
Tags  ban  script  unban 
  Bookmark and Share

Introduction

this script unsets all the bans in a channel have fun! and btw this is one of my new scripts :) thx for using it :D
btw you have to type: /unbanall
to unban the all bans in the channel :)

Grab the Code

Comments

  (8)  RSS
cantseeme
Comments: 48
 
mIRC Snippet:  Unban All
Posted on Sep 15, 2007 10:02 pm
could be much faster.
Scakk
Comments: 237
 
mIRC Snippet:  Unban All
Posted on Nov 1, 2007 9:31 am
1) It does not unbanall.
2) It keeps leaving one ban in the ban list even if there are les than 12. Ex: 8 bans total. It will unban 7.
3) It stops at 11 unbans even if there are more.
M[n]M
Comments: 95
 
mIRC Snippet:  Unban All
Posted on Feb 17, 2008 3:26 pm
but you can change the number! =)
juhapuha
Comments: 70
 
mIRC Snippet:  Unban All
Posted on Feb 24, 2008 7:00 pm
Can't you just use "/mode #channel +b-b * *" :)
juhapuha
Comments: 70
 
mIRC Snippet:  Unban All
Posted on Feb 24, 2008 7:02 pm
2) It keeps leaving one ban in the ban list even if there are les than 12. Ex: 8 bans total. It will unban 7. <- Scakk are you sure your ibl was up to date (mode #channel +b)?
SmokeyMU
Comments: 1
 
mIRC Snippet:  Unban All
Posted on Jun 13, 2008 7:41 pm
change this :

unbanall {
if ($me !isop #) { echo -a * You are not oped in # | halt }
if ($ibl(#,0) == 0) { echo 12 -a * No bans to unset | halt }
var %u = $ibl(#,0)
while (%u > 0) {
dec %u
inc %t
var %ban = %ban $ibl(#,%u)
if (%t == $modespl) {
mode # - $+ $str(b,$modespl) %ban
unset %t %ban
}
}
mode # - $+ $str(b,$modespl) %ban

to this :

unbanall {
if ($me !isop #) { echo -a * You are not oped in # | halt }
if ($ibl(#,0) == 0) { echo 12 -a * No bans to unset | halt }
var %u = $ibl(#,0)
while (%u > 0) {
;dec %u
inc %t
var %ban = %ban $ibl(#,%u)
if (%t == $modespl) {
mode # - $+ $str(b,$modespl) %ban
unset %t %ban
dec %u

}
}
mode # - $+ $str(b,$modespl) %ban
}

all that as changed/moved is the line : dec %u


PunkTuReD
Comments: 113
 
mIRC Snippet:  Unban All
Posted on Jun 13, 2008 9:18 pm
alias unbanall {
ChanServ CLEAR $chan BANS
}
Viper01
Comments: 77
 
mIRC Snippet:  Unban All
Posted on Jun 17, 2008 10:50 am
punktured: even though that is the easier route, you'd need higher than normal op status to use it ._.

Please Register or Login to start posting comments.
Bottom