I haven't scripted in like forever so I've forgoten a few things about mIRC scripting. Anyway here's a little Ban View/Remover script. You just type "Banlist" in the channel, you have to be set as owner in your bots user list (ie: owner:James_G!@), and the bot will tell you how many bans there are on the list. Then type "View ban " to see a certain ban on the list. You can also delete the bans by typing "Del ban ". A few problems with this is that even if there are like only 2 bans on the list, the owner can type "del ban 10" or any other higher numbers and the bot will delete a ban from the list. Another problem is that I can't figure out how to get the bot to delete all bans from the list. So if anyone has any suggestions on how to get that to work, post them and I'll add it to the script asap. I'll also give them credit for there contribution. So thanks, and enjoy I guess. =P
;#########################
;# Ban Viewer/Remover #
;# By James_G(aka Hades) #
;# irc.Rizon.net #Hades #
;#########################
on @owner:TEXT:Banlist:#: {
msg $chan 7 There is12 $ibl($chan,N) ban(s)7 on this channel. Type 12" View Ban <ban number> " 7to see info on the address banned.
}
on @owner:TEXT:View Ban *:#: {
set %bannumber $3
msg $chan 4 %bannumber $+ :12 $ibl($chan,%bannumber) $+ . 7This ban was set by:12 $ibl($chan,%bannumber).by 7on12 $ibl($chan,%bannumber).date $+ .
}
on @owner:TEXT:Del Ban *:#: {
set %delban $ibl($chan,%bannumber)
mode $chan -b %delban | .timer 1 1 msg $chan 7The requested ban has been removed.
}