Raised This Month: $ Target: $400
 0% 

[ANY] Chat SM Command Triggers (Request)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ExiMaster
Member
Join Date: Dec 2011
Old 12-08-2012 , 15:15   [ANY] Chat SM Command Triggers (Request)
Reply With Quote #1

Would have been thinking about this for a while but this would be a really nice plugin.

So its relatively simple:

This plugin would make so that if anyone typed in a certain thing in the chat, a command would get run on them from a different plugin or just any command.

There would be a txt file probably looking like this to specify the triggers and commands:

// CONFIG: First set of "" is the trigger and the second set of "" is the command that gets run on the client.

//Example

"!shoot" "+attack" //This runs the +attack in the persons console making so that the person attacks
"!kill" "kill" //Runs kill in the console so if the client is stuck he dies

//Lets say for another example it can run SM commands on clients

"!slapme" "sm_slap @me 0" //Lets try to make it so that even if you are not an admin the command will run on you anyways somehow. This will allow players to slap themselves for whatever reason.

You should get the point of this plugin that it makes as many custom chat trigger commands as you want and as long as a command is attached to that chat trigger no matter what command admin or not it will run on you.

Last edited by ExiMaster; 12-08-2012 at 15:32.
ExiMaster 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 04:19.


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