View previous topic :: View next topic |
Author |
Message |
geek Halfop
Joined: 24 Oct 2008 Posts: 47
|
Posted: Sat Mar 19, 2022 4:07 pm Post subject: auto stick bans |
|
|
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:
Quote: |
(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? |
|
Back to top |
|
 |
simo Revered One
Joined: 22 Mar 2015 Posts: 1051
|
Posted: Tue Mar 22, 2022 8:29 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
geek Halfop
Joined: 24 Oct 2008 Posts: 47
|
Posted: Tue Mar 22, 2022 1:09 pm Post subject: |
|
|
tnx simo, I'll try to write that |
|
Back to top |
|
 |
|