## [LoL's TooLz 8.1a] EDITED & Adapted for server Undernet, with Leonini permission.
## Work 100%.
## New commands added: !dr <nick> (*!*@domain.host) - !drone <nick> (*!*@domain.host) - !bannick <nick> (nick*!*@*)
## in this version, don't need put !banmask to banned *!*@domain.host, just use: !ban nick (*!*@domain.host)
## or !ban nick*!*@*, etc.
## Fixed the error unban automatic (before it removed bans when arriving at go number 27).
## When an user banned re-join and have ban or banperm, it put ban via X.
# BAN TYPE
# HOW DO YOU WANT TO BAN THE USER ? DEFAULT 1
# 0 - *!*user@*.domain
# 1 - *!*@host.domain
# 2 - nick*!*@*
# 3 - *!user@*
# 4 - nick*!*@host.domain
# 5 - other bantype
set lol(bantype) 1
And if possible to configure that way I could use a ban type for different bans
###############################################################################
##################CONFIG BADWORD <NICK> <REASON>###############################
###############################################################################
# SET THE BAN TIME IN MINUTES ON EGGDROP.
# default 60 hour. (0 = perm)
set badwtime "60"
# SET THE DEFAULT REASON ON KICK MSG
set bwreason "Please don't use this words on channel."
# SET THE BANTYPE ONLY FOR BAN BADWORD
# 1 - *!*@host.domain
# 2 - *!ident@host.domain
# 3 - *!*ident@host.domain
# 4 - *!ident@*
# 5 - *!*ident@*
# 6 - nick*!*@*
# 7 - nick!ident@*
# 8 - nick!ident@host.doamin
# 9 - nick!*ident@host.domain
# 10 - nick!*@host
# 11 - Let lol.tcl choose how to set the banmask, by looking for sertain values in the mask.
# Anyway, the result will be one of the following banmasks (regular, IP, Undernet username);
# *!*user@*.domain, *!*user@127.0.* or *!*@username.users.undernet.org
# default "*!*@host.domain"
set bantype "11"
# SET PROTECTED FLAGS.
#
set flags "mof"
# ENABLE (1) OR DISABLE (0) IF YOU WANT EXEMPT OP/VOICE USERS.
#
set badwpro "1"
###############################################################################
##################CONFIG BAD NICK <NICK> <REASON>##############################
###############################################################################
# SET THE BAN TIME IN MINUTES ON EGGDROP.
# default 60 hour. (0 = perm)
set ntime "60"
# SET THE DEFAULT REASON ON KICK MSG
set defreason "Change ur nick pls, usage: /nick Newnick & Rejoin."
# SET THE PROTECTED FLAGS
#
set nflags "mof"
# ENABLE (1) OR DISABLE (0) IF YOU WANT EXEMPT OP/VOICE USERS.
#
set badnpro "1"
###############################################################################
##########CONFIG DRONE <NICK> <REASON> | DR <NICK> <REASON>####################
###############################################################################
# SET THE BAN TIME IN MINUTES ON EGGDROP.
# default 60 hour. (0 = perm)
set drtime "60"
# SET THE DEFAULT REASON ONLY FOR KICK MSG
set motivdr "You are probably infected!."
# SET THE BANTYPE ONLY FOR BAN DRONE
# 1 - *!*@host.domain
# 2 - *!ident@host.domain
# 3 - *!*ident@host.domain
# 4 - *!ident@*
# 5 - *!*ident@*
# 6 - nick*!*@*
# 7 - nick!ident@*
# 8 - nick!ident@host.doamin
# 9 - nick!*ident@host.domain
# 10 - nick!*@host
# 11 - Let lol.tcl choose how to set the banmask, by looking for sertain values in the mask.
# Anyway, the result will be one of the following banmasks (regular, IP, Undernet username);
# *!*user@*.domain, *!*user@127.0.* or *!*@username.users.undernet.org
# default "*!*@host.domain"
set bandrtype "1"
# SET PROTECTED FLAGS.
#
set dflags "mof"
# ENABLE (1) OR DISABLE (0) IF YOU WANT EXEMPT OP/VOICE USERS.
#
set drprot "1"
###############################################################################
######### CONFIG THE AUTOBAN VIA X ON REJOIN USER BANNED ######################
###############################################################################
# FOR ENABLE THIS FUNTION PLS JOIN IN PARTYLINE AND PUT:
# .chanset #chanel +/-banviax
#SET THE BAN TIME ON X UNDERNET.
set jbantime "2"
###############################################################################
############################ GLOBAL CONFIG ####################################
###############################################################################
# SET THE BAN TIME IN X (BOT UNDERNET) FOR !BAN !DR !BADWORD !DRONE
# (default: 2 hours)
set btime "2"
# SET THE ACCESS LEVEL OF USERNAME OF YOUR EGGDROP.
# (default: 75)
set xaccess "75"
###############################################################################
###############################################################################
more config's........
tested and work perfectly, just download again of the same link.
It doesnt remove te ban from the egg banlist when I type !unban <mask>
I't removes the ban only on the channel, but it remains in the egg's banlist. So when the unbanned user join the channel it is banned again by the eggdrop.