A very good friend of mine wrote this script for me, so all credit goes to him! This is not a revenge script but much more useful. The purpose of this script is to check every 10 seconds if a ban against you has been lifted on a particular channel. Once the ban has been lifted, all timers halt, and you will be auto joined to said channel. This is most useful if you're AFK and can't manually rejoin..
I would have thought "iswm" would do the trick since both "!ident@.isp.com" and "!ident@.some.weird.name.isp.com" are valid banmasks. The hash tables idea is great, but not practical because at this rate, I'll be adding variations of valid banmasks such as the ones above all day. There are at least 15 authorized users in my bot. :-)
Jethro: Sorry to trouble you, but I'm still running into a bit of a problem. - Using revised code.
The ban gets removed if set like this:
10:44pm Mode Set: (new-nick123/#LuminolBlue) +b !@clue-306FE3BC.cpe.net.cable.rogers.com
10:44pm Mode Set: (Cat/#LuminolBlue) -b !@clue-306FE3BC.cpe.net.cable.rogers.com
But it doesn't get removed if set like this:
10:46pm -!- Mode Set: (new-nick123/#LuminolBlue) +b !cDn@.cpe.net.cable.rogers.com
10:46pm -!- Mode Set: (new-nick123/#LuminolBlue) +b !cDn@.rogers.com
Or any other format for that matter.
Thanks for your continued help!
I'm trying to work on this ban protection for my bot. The problem is, I can't get the script to work with wildcard matches. The bot only protects users that have access to the bot, but these users are only protected if a ban on channel is set specific to the hostmask of the user in Users.ini. I'd like some assisstance in modifying this script so that a bot user banned using any type of $address is..