This plugin was made due to this request:
http://forums.alliedmods.net/showthread.php?t=162794
Description:
Displays chat advertisements when specified text is said in player chat.
Example:
Cvars:
sm_chat_file (Default: "chat_responses.txt") - Specifies the name of the file.
Usage:
Code:
"ChatResponses"
{
"who's awesome?"
{
"text" "{GREEN}Rus{OLIVE}sia{TEAM}ne{DEFAULT}er""
}
"!command"
{
"text" "{GREEN}GREEN {OLIVE}OLIVE {TEAM}TEAM {DEFAULT}DEFAULT"
}
}
Put "chat_responses.txt" into your sourcemod/configs directory.
Colors available:
- {GREEN}
- {OLIVE}
- {TEAM}
- {DEFAULT}
Notes:- Commands can have spaces.
- Commands do not support slashes (/). If someone knows how to fix this, please notify me.