a small snippet to clear all bans on a channel
type /clearbans in any channel window.
URL: http://www.mircscripts.org/comments.php?cid=3923
;weaver shy spyder irc.hackthissite.org #help
:for source (matt clayton) ɛ ɛ hackthissite.org
alias clearbans {
if ($me isop $chan) {
echo $active Clearing bans on $chan
var %i = 1, %bans
while (%i <= $ibl($chan,0)) {
%bans = %bans $ibl($chan,%i)
if ($numtok(%bans,32) == $modespl) {
mode $chan - $+ $str(b,$numtok(%bans,32)) %bans
%bans = ""
}
inc %i
}
if (%bans) mode $chan - $+ $str(b,$numtok(%bans,32)) %bans
}
}
Hey Its Nice 1 i like it and if u want u can load it on ur bot and change little things as example.
on 500:text:!clearbans :: {
/clearbans $2
}
alias clearbans {
if ($me isop $1) {
echo $active Clearing bans on $1
var %i = 1, %bans
while (%i <= $ibl($1,0)) {
%bans = %bans $ibl($1,%i)
if ($numtok(%bans,32) == $modespl) {
mode $1 - $+ $str(b,$numtok(%bans,32)) %bans
%bans = \"\"
}
inc %i
}
if (%bans) mode $1 - $+ $str(b,$numtok(%bans,32)) %bans
}
}
U can change the level thing but its my level on my bot and u can order ur bot from unplace to unban any room he is in even if u order him from pvt >:P
Its not meant to be a protection. i use it when my channels ban list is getting old and full and want to clear it. The spped of this script is amazing. I also like the fact that it sends the exact amount of -bb and nothing superflous. Having gone on the irc to speak with the author about another script he has made i got the news that he is not with us anymore. so RIP weaver