Hello Epic,
Here are the details as discussed yesterday in chat:
1. Normal bad nick ban : the code shall ban an abusive nick upon triggering /bn nick reason
2. Nick storing : the nick shall be stored in a different badnicklist.txt file.
3. Nick monitoring : the code shall monitor all the incoming nicks and match it with the nicks stored in badnicklist.txt file. if found in the list, the code shall trigger an auto nick ban (no ip ban) with appropriate reason given during the first kick before storing the nick in badnicklist.txt file.
4. Wildcards : the code shall monitor, match and cross verify the nick using wildcards. for eg. nick Sluttywife, where *slut* could be a wildcard for any future bad nick ban matching that word in the nick.
5. Custom reasoning : like how we have custom reason system in baduser.txt file, by using the same logic could we also have a custom reasoning for bad nicks? for eg. nick Sluttywife, matches wildcard *slut* with reason : the nick has *slut* in the nick, kindly change it!
6. Dialog control : manual input and deletion of nicks through a small dialogue will be awesome.
7. Database : can we also add a nick with its ip and reason into our central baduser list ie. baduser.txt file upon 3 consecutive bad nicks from the same ip/host? for eg. lets say a nick sluttywife joins the channel and gets banned for having *slut* in the nick. the operator bans the nick with appropriate reasoning. the nick rejoins the channel with a WhoreWife and doesnt have *slut* in the nick but *whore*, the operator bans the nick yet again with appropriate reason (reason : nick matches *whore* in it). the nick rejoins the channel with nick randiwife where *randi* is as good as calling someone a *slut* or *whore*. all these 3 nicks are having same ip/host while joining the channel as the operator has always banned the nick Slutwife!*@*, WhoreWife!*@* & Randiwife!*@* matching *slut*, *whore* & *randi* respectively. so is it possible to add the nick ip/host in our central database ie. baduser.txt file upon 3rd offense? like, after the user takes 'randiwife' nick and gets banned, the code will automatically add the nick ip/host of that offender into baduser.txt file with reason : repeated bad nick offender.
8. Exception : the code should be able to exclude the ops/halfops/voice users and if possible an additional list of exception would be amazing. say if there is a nickname *randomguest* which matches the wildcard *rand* then the operator should be able to add randomguest nick into exception list where the code will not ban that nick.
9. Ban by Ident : this is not really needed but an addition to this existing code will be great.
[indent=0.8,0.5]
Any other suggestions are welcome
Thanks & Regards,
Sleepyhead