Raised This Month: $12 Target: $400
 3% 

TOG Case Commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Plugin ID:
4239
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 06-07-2014 , 19:23   TOG Case Commands
    Reply With Quote #1

    Description
    This plugin converts chat trigger to all lowercase. This is useful if someone commonly toggles caps lock for whatever reason. Specifically, it checks to see if the chat text starts with ! or /, and if it does, it checks whether the next character is capitolized. If it is, then it blocks the command and resends it as all lowercase.

    I only check the first letter for caps because someone might troll with a command like !kick @All (wouldnt do anything because of the capitol 'A' in @All). As such, I check the first letter, and if it is capitolized, the plugin assumes caps lock and converts it.

    I originally made this as part of my Chat Tags plugin, but made it into it's own plugin in case someone wants just that feature.

    Installation
    Place the .smx file in your cstrike/addons/sourcemod/plugins folder.

    Servers using this plugin
    >>> Click here to check out my other plugins <<<
    Attached Files
    File Type: sp Get Plugin or Get Source (togcasecommands.sp - 919 views - 1.3 KB)
    __________________

    Last edited by ThatOneGuy; 07-21-2017 at 16:43.
    ThatOneGuy is offline
     


    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 16:32.


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