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

[ALL] Command & CVAR shortcut


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
4011
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Type some words into the chat and activate the specific command !
    Old 12-26-2013 , 09:11   [ALL] Command & CVAR shortcut
    Reply With Quote #1


    Command & CVAR shortcut
    PLEASE UPDATE TO LAST VERSION !

    -----------------------------------------
    Please, update this plugin. I have created a high security fail in your server if you still run a OLD version of this plugin.
    Again please, update this plugin, really sorry.
    More infos in post #7

    -----------------------------------------

    Description :
    A nother simple plugin usefull if you have to type a lot of commands or you always forget the name of one.
    You can easily shortcut your command using a simple text file.
    This plugin was requested by jpwanabe (original thread : here ).

    Features :
    - Support any text as shortcut
    - You can restrict shortcut using flags
    - Simple keyword.

    Bugs :
    Any for the moment ! YAY !

    Commands & Cvar :
    Commands :
    - any, you should set them your self

    CVar
    - any

    Configuration


    "chat" -> what should be the word(s) to activate the command ?
    "command" -> What should be the command to execute ?
    "flag" -> Flag needed to use the command. Leave blank to give acess to everyone.

    Keyword :
    [PLAYER_NAME] = same as @me. Please, only use [PLAYER_NAME] and NOT @me

    Installation :
    - Put CommandShortcut.smx in your 'plugins' folder (../sourcemode/plugins)
    - Put ChatCommand.cfg in your 'configs' folder (../sourcemode/configs)
    - Restart server or reload map.

    Request :
    STATUS: Under work
    Quote:
    Originally Posted by dotexe View Post
    Is there a way to make it work with group filters? Like "@reds" or "@me"? This could be useful for me because I want to use this plugin for donators.
    Logs :
    1.0 - first public release.
    1.1 - Fixed a big security fail.
    1.2 - Fixed a aim player bug (using %s instend of %d). Thanks to ddhoward who fixed this for me !
    1.3 - Added a CVAR to allow if command/cvar should be executed when sentence contains the shortcut or the shortcut alone should do the command/cvar.
    Attached Files
    File Type: cfg ChatCommand.cfg (205 Bytes, 1426 views)
    File Type: smx CommandShortcut.smx (3.8 KB, 876 views)
    File Type: sp Get Plugin or Get Source (CommandShortcut.sp - 2072 views - 1.5 KB)
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 02-18-2014 at 12:05.
    Arkarr is offline
     



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


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