I wrote a script to make my eggdrop auto-clear the oldest 6 bans when the list gets to 90 bans (DALnet).
However, upon netsplit rejoin the server rebans many old bans making the list exceed the 90 bans limit many times. My bot goes crazy and starts unbanning the oldest 6 bans many times.
Is there a way to detect server bans by code (Not set bounce-bans 1). I just don't want my script to react and start unbanning old bans when there's a netsplit rejoin.
Thx.
use a standard mode "* +b" binding, and check the uhost for a @ (with string match). if there's no @ in the userhost, then its a server setting the mode.