Page 1 of 1

AMXX No Capslock

Posted: Mon Nov 22, 2021 10:16 pm
by greenie
/* Plugin generated by AMXX-Studio */
////////////////////////////////////////////////////////////////////////////////////////////////////
/*
INFO:

This plugin will detect if chat messages contains BIG letters, and if so, it will punish the client
who likes those big ass letters. There are 4 ways to punish the client:

#1 - the client can no long use 'say' or 'team say'
#2 - the client can no long use 'say', 'team say' and microphone
#3 - will kick the client
#4 - will ban the client

Note that #1 and 2 will only stick till map change.
The plugin will warn the client before any punishment!



CVARS:

- Plugin on / off | 1 is ON
amx_nocaps 1

- Amount of warning before do anything
amx_nocaps_max_warnings 5

- Punish method
#1 - the client can no long use 'say' or 'team say'
#2 - the can no long use 'say', 'team say' and microphone
#3 - will kick the client
#4 - will ban the client
amx_nocaps_punish_method 1

- Percent of text before we care
amx_nocaps_percent 20
- Min length of chat message before we care
amx_nocaps_min_len 4

- If we use method 4, how long should the client be banned?
amx_nocaps_bantime 10

- Delay before the action of method 3 and 4
amx_nocaps_delay 4



THANKS TO:
PyRo - > http://forums.alliedmods.net/showthread.php?p=109695
xPawn and Exolent -> http://forums.alliedmods.net/showthread.php?t=95740

www.dodplugins.net



CHANGELOG:
22-07-09
Release
*/
////////////////////////////////////////////////////////////////////////////////////////////////////