Simple Chat Responses
Description:
Provides automatic respones based on a players chat message.
Console Variables:scr_debug - Turn On/Off debug logging
Commands:sm_reloadscr - Reloads the config file
Installation:Place the simple-responses.smx in the /sourcemod/plugins dir.
Place the simple-chatresponses.cfg file in the /sourcemod/configs dir.
Changelog:
Notes:
This plugin uses the
Simple Chat Processor to respond to chat. It uses the
SMLIB colors include file as well. A big thanks goes out to
DJ Tsunami for some code from his
advertisements plugin to deal with tags. The tags allowed is best described by him. I will just quote his thread.
Quote:
Originally Posted by DJ Tsunami
This [config file] supports the following variables: {CURRENTMAP}, {DATE}, {TIME}, {TIME24} and {TIMELEFT}. Next to that you can print the value of a cvar by enclosing the name with {}. For example you can use {SM_NEXTMAP} to show the name of the next map. Last but not least, for a boolean cvar you might want to have it print OFF/ON instead of 0/1. For that you can use {BOOL:name}. For example {BOOL:MP_FRIENDLYFIRE} will print OFF if mp_friendlyfire is set to 0, and ON if it's set to 1. If you want it to print something other than OFF/ON, you will have to open the source code, change the defines at the top and recompile. Also supports \n for newlines...
|
SVN (or Beta Links)
If you want the latest version on the SVN you can use the links below. The release version of the plugin is attached.
Source |
Plugin |
Config | No Phrases
Enjoy!