title: How to code a cooldown timer for multiple users?
body: <p>I'm coding an IRC bot with C#. I have a bunch of commands set up such as !uptime and !help. I don't want people spamming the commands because I could get banned for spamming. The trigger happens when you send 20 messages in 30 seconds.</p>
  
  <p>I have coded mirc bot before and in mirc you can set up individual timers for each user to prevent them from using it more than once in 30 seconds. I also had to make a global flood variable that ties all the commands to not send more than 20 messages in 30 seconds.</p>
  
  <p>Could someone please show me how to do what I did in mirc in C#?</p>