This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

auto stick bans

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
g
geek
Halfop
Posts: 47
Joined: Fri Oct 24, 2008 6:07 am

auto stick bans

Post by geek »

I have some bans added with the command +ban
and I use +dynamicbans in my channels
ban-time is 120

I need a script that if a ban user reenters 3 total times, the bot sets the ban as sticky


something like:
(assuming *!*@xxxx.yy.net is in bot channel ban list and NOT sticky)

N1CK (zzz@xxxx.yy.net) joined
BOT sets ban on *!*@xxxx.yy.net
BOT kicked N1CK
(after 120min)
BOT removes ban on *!*@xxxx.yy.net
N1CK (zzz@xxxx.yy.net) joined
BOT sets ban on *!*@xxxx.yy.net
BOT kicked N1CK
(after 120min)
BOT removes ban on *!*@xxxx.yy.net
N1CK (zzz@xxxx.yy.net) joined
BOT sets ban on *!*@xxxx.yy.net
BOT kicked N1CK

(ban becomes sticky)

can you help me?
s
simo
Revered One
Posts: 1108
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

from the looks of your example if banned nick gets kicked 3 times he needs to get sticky ban so you could utilize kick proc perhaps to count 3 kicks for that nick and set the sticky ban
g
geek
Halfop
Posts: 47
Joined: Fri Oct 24, 2008 6:07 am

Post by geek »

tnx simo, I'll try to write that
Post Reply