On 2002-03-13 11:00, Yourname wrote:
Cant it be made to do a nick ban too without just kicking, as it generates a kick flood on mIRC clients.
Something like:
nick!*host@*.com
Adding a ban to the script provided by stdragon shouldn't be too difficult.
Note, however, that a mildly malicious user, with little effort, can force your bot to send out many kicks and fill the ban list of your bot/channel easily, with a nick based ban as you propose.
Also note that the irc-server will punish your bot for sending many kicks AND bans and eventually may ignore the kicks for a while (although the queue mechanism of eggdrop can prevent that).
A flood-join setting of something like 3:20 will create a ban with more wild cards, which can help.
A ban is a bit of a tough punishment for such a little offense of having a long nickname
Actually, what to do if the bot guards a channel with 500 users where 5 % of the users has a long nickname?
Personally, if I had to take action on long nicknames, my script would make the bot kick such a nick on join, and after that kick it once in a while. With a maximum of say 5 kicks per 20 seconds.
My attempt to script such a thing is:
http://members.fortunecity.com/eggheadt ... en.tcl.txt
This could be a start for your own developmnents, as I've no intention to develop it further.
Another point to note: there are scripts out there to check for weird/offending nicknames. You can try to modify such script to not check for the "content" of the nickname, but for its length.
But actually, long nicks are only annoying when they start talking
So, a much easier script can help you out:
http://members.fortunecity.com/eggheadt ... lk.tcl.txt
<font size=-1>[ This Message was edited by: egghead on 2002-03-26 20:38 ]</font>