Raised This Month: $95 Target: $400
 23% 

CAPS Punisher


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Day of Defeat        Category:   Server Management        Approver:   twistedeuphoria (82)
PyRo
Member
Join Date: Mar 2005
Old 04-30-2005 , 15:02   CAPS Punisher
Reply With Quote #1

I originaly posted this over at DoD Plugins, but I though I should post it over here as well.

Description:
If you're anything like me you hate it when people constantly use CAPS, this plugin attempts to make the world a better place by punishing those who overuse upercase characters by giving them a good slap and taking away all their weapons and giving them a spade.

CVARS:
Code:
***** CVARs:
*****
** amx_caps_minlen <length> - Minimum length of string to get checked for caps overuse (default 7)
** amx_caps_minpercent <1-100> - Minimum percentage of caps in string to trigger punishment (default 50)
** amx_caps_slapdamage <0-100> - Amount of damage to slap the caps abuser for (default 10)
** amx_caps_obeyimmunity <0|1> -  Should admin with ADMIN_IMMUNITY be immune (default 0)
** amx_caps_givespade <0|1> - Should the caps abuser be given a spade or their team specific melee weapon (0 = team specific, 1 = spade, default is 1)
**
Code:
***** ChangeLog:
*****
**
** v0.1b 27/04/2005 
**  - Initial release
** v0.2b 27/04/2005
**  - Simpler and more efficient way of caps checking, no more need for regex. Thanks to Zor :)
** v0.3b 28/04/2004
**  - Added amx_caps_obeyimmunity to make admin with ADMIN_IMMUNITY immune
**  - Added amx_caps_givespade to give abuser spade or team specific melee weapon
**
This is my first plugin release so be gentle, I'd really appreciate some suggestions and some feedback on this, both on the plugin its self and on my code.

Pyro
Attached Files
File Type: sma Get Plugin or Get Source (capspunisher.sma - 1475 views - 3.5 KB)
__________________
85.133.16.45:27035 - [CPP] Clan Server #1 (fun Maps)
85.133.16.48:27195 - [CPP] Clan Server #2 (Standard/Custom/Fun Maps)
PyRo is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-02-2005 , 02:21  
Reply With Quote #2

Yo, I don't play DOD but caps piss me off.
I remade the plugin so I could use it on CS. It will work on any mod. Same thing just doesn't give them a "spade", but still removes all their weapons.

GJ on the script, original idea.
Attached Files
File Type: sma Get Plugin or Get Source (capspunisher-nondod.sma - 1182 views - 1.4 KB)
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-02-2005 , 03:37  
Reply With Quote #3

w00t thanks Im sure Ill use this..stupid caps0rs always

special thanks for the cs-port
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-02-2005 , 18:37  
Reply With Quote #4

np, it was not much to do. And note that it is not just for CS, it can be used on any half-life mod.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Parano[i]a
Junior Member
Join Date: Sep 2006
Location: USA
Old 10-09-2006 , 01:50   Re: CAPS Punisher
Reply With Quote #5

WHAT ARE YOU GUYS TALKING ABOUT? CAPSORS??? lol
Parano[i]a is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 10-09-2006 , 01:57   Re: CAPS Punisher
Reply With Quote #6

Way to bump up a year old thread.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 05-02-2007 , 14:31   Re: CAPS Punisher
Reply With Quote #7

2 years now
__________________
-Karma If I helped you!
YARGH! HERE BE A SIG!
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:10.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode