Level-based Ban Protection
Platform: mIRC
Published Nov 26, 2011
Updated Nov 26, 2011
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 protected.
Any help is greatly appreciated!
ON *:BAN:*:{
if ($level($banmask) == 100 && $level($nick) != 100) {
mode $chan -b $banmask
}
}