MiRC Bots And Channels

What you should beware of is the message rate limit at 100 messages/30
seconds maximum for a modded account. Make sure your bot handles this so
that it doesn’t get IP banned.

What is the reliable solution for this?
If i allow 100 Messaegs and reset the counter every 30 sec, it could be possible that:

  1. Bot resets it’s counter
  2. No messages yet in my channel.
  3. Twitch resets it’s counter
  4. There are 100 Messages in my Channel, Bot blocks next ones
  5. Bot resets it’y counter
  6. There are 100 Messages in my Channel, Bot blocks next ones
  7. Twitch resets it’s counter.

→ because of unsynced “resetting” i’m above the 100msg/30sec
Any experiences on your side?
Does it work reliably with 75msg/30sec or 50msg/15sec as limit in the bot? Or is a minimum timespan between messages better?