there is many of users useing the same ip from the same isp. so when my ops banned the user there is alot of users can't join the channel and the filter band will kick more than 1 user. so what am looking for is when the ops banned the isp range of user the bot will delete the ip from ban list and the bot banned the nick not the ip for example:
the range of isp is: 1- @78.89.*.* 2-@212.43.*.* .. etc
Then what about just unaband the ip and sending notice to the op who banned the ip to banned the nick not the ip.
example:-
<op> sets mode: +b *!*@212.43.12.10
<Bot>sets mode: -bk *!*f@212.43.12.10 Protected.ISP
Then sending the notice to the op nick to banned the nick not the ip
Then what about just unaband the ip and sending notice to the op who banned the ip to banned the nick not the ip.
example:-
<op> sets mode: +b *!*@212.43.12.10
<Bot>sets mode: -bk *!*f@212.43.12.10 Protected.ISP
Then sending the notice to the op nick to banned the nick not the ip
Why not just set exempts for your users you wish to evade those global types of bans?
/mode +e nick!ident@host
Doesn't your network support exemptions? So for example, take below:
/mode +e *!*@78.89.*.*
/mode +e *!*@212.43.*.*
The problem with this, eggdrop might freak out and not realize why people can evade that ban. It will assume anarchy is reigning and it can't keep control, so will set +mi and try to kick everyone for massive join floods. But if set up properly, eggdrop will respect that exempt list. As a result, seeing the user rejoin after they kick/banned them, the op setting that ban will of course next ban the nickname, exactly as you desire.
but the +e won't let the op banned the nick or the ident and when you banned the nick or ident the user can join as he is not banned ever,
so if the bot unbanned the isp and sending notice the ops will banned the nick ,.
so i don't need the +e...
yD^ wrote:for the code above where i can put the ips ?
Huh? You don't. The script checks if the ban will affect 1 user, and in this case does nothing. Or if it will affect more than 1, will remove the ban, and then remove the channel key with your message. There is no need to tailor a thing.