ultimate zero ban version 1.6.0
This bot uses an exclusive technique to ban flooders. It will ban using 3 IDs in turns, so the chance of getting stuck and missing some flood IDs is nearly 0%.
This bot can ban by:
1-Resource detection.
2-Nickname length.
3-Message length.
4-Max lines in message.
5-Message repetition.
6-Message time
7-Censored words.
And introducing the exclusive protection mode: Zombie ID mode! This mode will make the bot IDs unable to receive chat messages and add requests. It will only receive room messages and room private messages.
Instructions:
Fill in banconfig.txt
Run banbot.exe
Main Commands (must be sent via a bot admin):
.restart: the bot will restart.
.exit: the bot will exit.
.rejoin: the bot will rejoin the chatroom.
.dot: the bot will send a dot.
.maxlines: Change Max allowed lines in message. (.maxlines 5)
.maxlen: Change Max allowed message length. (.maxlen 195)
.maxnick: Change Max allowed nickname length. (.maxnick 25)
.maxtime: Change Max allowed times of sending fast messages. (.maxtime 5)
.maxlike: Change Max allowed times of repeating same message. (.maxlike 5)
.speed: Disable/Enable message speed detection. 1 for On. 0 for Off. (Example: .time 1)
.rep: Disable/Enable message repetition detection. 1 for On. 0 for Off. (Example: .rep 1)
.censor: Disable/Enable censor words detection. 1 for On. 0 for Off. (Example: .censor 1)
.res: Disable/Enable resource detection. 1 for On. 0 for Off. (Example: .res 1)
.len: Disable/Enable message length/lines detection. 1 for On. 0 for Off. (Example: .len 1)
.nick: Disable/Enable nickname length detection. 1 for On. 0 for Off. (Example: .nick 1)
.unban: Unban an ID. (example: .unban ultimate.zero)
.ban: Manual ban of any ID (example: .ban ultimate.zero)
.kick: Kick a user (.kick ultimate.zero)
.devoice: Devoice a user AKA make him a visitor (.devoice ultimate.zero)
.voice: Give voice to a devoiced user AKA make him a participant (.voice ultimate.zero)
.mod: Grant temporary moderator role to a user (.mod ultimate.zero)
.member: Same as .unban (.member ultimate.zero)
.unmember: Revoke member affiliation (.unmember ultimate.zero)
.admin: Make a user an admin in room (.admin ultimate.zero)
.lock: Lock the room using the default room password in config file.
.unlock: Unlock the room.
.addcen: Add a word to the censored words list (example: .addcen dog)
.delcen: Remove a word from the censored words list (example: .delcen dog)
.say: Make the bot say something in room (example: .say hi all)
.cenwords: Display the censored words list.
.cenban: Disable/Enable immediate ban on censor. 1 for On. 0 for Off. (Example: .cenban 1)
.sub: Disable/Enable SubCommands. 1 for On. 0 for Off. (Example: .sub 1)
.getres: Display full JID of a user in room. (Example: .getres ultimate.zero)
Subcommands (can be sent via owner or admin of the room):
.rejoin: the bot will rejoin the chatroom.
.speed: Disable/Enable message speed detection. 1 for On. 0 for Off. (Example: .time 1)
.rep: Disable/Enable message repetition detection. 1 for On. 0 for Off. (Example: .rep 1)
.censor: Disable/Enable censor words detection. 1 for On. 0 for Off. (Example: .censor 1)
.res: Disable/Enable resource detection. 1 for On. 0 for Off. (Example: .res 1)
.len: Disable/Enable message length/lines detection. 1 for On. 0 for Off. (Example: .len 1)
.nick: Disable/Enable nickname length detection. 1 for On. 0 for Off. (Example: .nick 1)
.unban: Unban an ID. (example: .unban ultimate.zero)
.ban: Manual ban of any ID (example: .ban ultimate.zero)
.kick: Kick a user (.kick ultimate.zero)
.devoice: Devoice a user AKA make him a visitor (.devoice ultimate.zero)
.voice: Give voice to a devoiced user AKA make him a participant (.voice ultimate.zero)
.mod: Grant temporary moderator role to a user (.mod ultimate.zero)
.member: Same as .unban (.member ultimate.zero)
.unmember: Revoke member affiliation (.unmember ultimate.zero)
.admin: Make a user an admin in room (.admin ultimate.zero)
.lock: Lock the room using the default room password in config file.
.unlock: Unlock the room.
.addcen: Add a word to the censored words list (example: .addcen dog)
.delcen: Remove a word from the censored words list (example: .delcen dog)
.say: Make the bot say something in room (example: .say hi all)
.cenwords: Display the censored words list.
.cenban: Disable/Enable immediate ban on censor. 1 for On. 0 for Off. (Example: .cenban 1)
.getres: Display full JID of a user in room. (Example: .getres ultimate.zero)