Hello Epic,
I have seen a code which would take input from some of the authorized nicks from its database and do as that nick says. lets say, nick Pinocchio is a bot and has different databases in it which it uses to protect the channel just like how baduser.txt helps us. now, lets say, if a nick 'tanya' wants to add or delete any entry saved in that database file then she could just trigger below given commands :-
Baduser.txt database
To add: !addBL nick;host;reason
To del: !delBL nick;host
To Search: !search nick;host or just nick
Badnick.txt database
To add: !bwADD *badword*;length;reason
To del: !bwDEL *badword*
To Search: !searchBW *badword*
Exception.txt database
To add: !beADD *nick*;length;reason
To del: !beDEL *nick*
To Search: !searchBE nick
Whitelist.txt database
To add: !wADD nick;reason
To del: !wDEL nick
To Search: !searchW nick
any additional commands like kick, ban, kick/ban, set mode, would be awesome. also as per my understanding we can make an entire new code for this as we would just need the database files (baduser.txt, badword.txt, exception.txt and whitelist.txt) files to add, remove and modify the entries in it. although, would like to have your suggestions on it and also from any other reader who wish to comment on this.
ps. Chose to create a new post for this as it has different databases from different codes.
Thanks & Regards,
Sleepyhead