heres an auto ban script for channel control bots
on *:text:!addban *:#: {
if ( $me isop $chan ) {
if ($nick isop $chan)) {
set %ban. [ $+ [ $2 ] ] 1
msg $chan 5 $2 have been added to the Autoban List
mode # +b $address($2,2)
kick # $2 You Have been Banned From This Channel
}
else {
msg $chan You are not allowed to use this Command
}
}
}
on *:text:!delban *:#: {
if ( $me isop $chan ) {
if ($nick isop $chan)) {
unset %ban. [ $+ [ $2 ] ]
msg $chan 5 $2 have been deleted from The Autoban list
mode # -b $address($2,2)
}
else {
msg $chan You are Not allowed to use this command
}
}
}
on *:join:#: {
if ( %ban. [ $+ [ $nick ] ] == 1 ) {
mode # +b $address($nick,2)
kick # $nick You Are Banned From This Channel
}
its beter that you delete
if ($nick isop $chan)) and add your own owner system or your nick
thats all
