Kitoko
Member
The script is simple. You spam lots of lines, you get your chat disabled for 5 minutes. Particularly useful if your server is a caveat for spam.
spamkickvalue is a consvar that has a default value of 1000. For every message you send, you get 100 points. If you average 1000 points or more for every second, it disables your chat for 5 minutes. If you don't talk for 10 seconds, the system resets (Given you're not timed out already)
You may change this value to be more stricter (Try not to get too low, or you'll just kick people for talking)
THIS DOES NOT YET ACCOUNT FOR:
- Spamming team change commands.
- Spamming name changes.
...But it will be quite soon.
spamkickvalue is a consvar that has a default value of 1000. For every message you send, you get 100 points. If you average 1000 points or more for every second, it disables your chat for 5 minutes. If you don't talk for 10 seconds, the system resets (Given you're not timed out already)
You may change this value to be more stricter (Try not to get too low, or you'll just kick people for talking)
THIS DOES NOT YET ACCOUNT FOR:
- Spamming team change commands.
- Spamming name changes.
...But it will be quite soon.