I am administering a bot on an IRC network that allows for custom ban hostmask to ban based on IRC network services accounts. For example, I could register an account under DopeGhoti and even if I set my nick to Barney, Betty, Fred, or Wilma, the network knows it's my account (regardless of actual hostnask and ident) once I've signed in with the network services. If someone wanted to ban me, they would run the following:
I am trying to have my bot start using such bans, but when I do so with +ban, the bot is "helping" me by adding '!*@*' to the ban entry, which causes it not to work. For example:
Code: Select all
22:02 <dopeghoti> .+ban $a:testing #channel
22:02 <bot> [22:02] #DopeGhoti# (#channel) +ban $a:testing!*@* #channel (requested)
Is it possible to get it to do what I want it to without writing a custom script? I was hoping to still take advantage of the built-in ban system and it's ban expiration and such.