Raised This Month: $85 Target: $400
 21% 

Simple Chat Responses


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Antithasys
Moderator
Join Date: Apr 2008
Plugin ID:
2574
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
32 
Plugin Description:
Provides automatic respones based on a players chat message
Old 09-20-2011 , 13:41   Simple Chat Responses
Reply With Quote #1

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:

Quote:
1.0.0
Release
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 View Post
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!
Attached Files
File Type: zip Simple Chat Responses.zip (25.5 KB, 2383 views)
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-20-2011 at 14:25.
Antithasys is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-20-2011 , 13:41   Re: Simple Chat Responses
Reply With Quote #2

Reserved. (Config file instructions coming soon!)
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-20-2011 at 14:20.
Antithasys is offline
JoBarfCreepy
Member
Join Date: Feb 2011
Location: Next to Sweden and Norwa
Old 09-23-2011 , 05:44   Re: Simple Chat Responses
Reply With Quote #3

So this basically lets me say "Hi" and then give myself 100 HP?
Or "Creepy is such a cool guy" and my fan... I mean, my client can recieve thanks automatically?
JoBarfCreepy is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 09-23-2011 , 08:59   Re: Simple Chat Responses
Reply With Quote #4

Pumping out some pretty cool plugs there Antithasys GJ
__________________
Happy Happy Joy Joy

sinblaster is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-23-2011 , 18:50   Re: Simple Chat Responses
Reply With Quote #5

Quote:
Originally Posted by JoBarfCreepy View Post
So this basically lets me say "Hi" and then give myself 100 HP?
Or "Creepy is such a cool guy" and my fan... I mean, my client can recieve thanks automatically?
This doesn't execute any commands. It just simply responds to the message. So if they say something like "cool server" you could have an auto response that says "Don't forget to add us to your favorites!".
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 09-23-2011 at 18:55. Reason: spelling
Antithasys is offline
januto
Member
Join Date: Mar 2011
Old 12-16-2011 , 12:07   Re: Simple Chat Responses
Reply With Quote #6

Great plugin, however, I wanted to use it in conjunction with advertisements plugin, but I can't make it work.
I went to advertisements.txt file and added a line like this:
Quote:
"8"
{
"type" "S"
"text" "!spam"
}
but doesn't work, it just types in chat "!spam"

But if I just type "!spam" ingame chat, it shows the message from your plugin right, is there something that I'm missing? thx
__________________
You are welcome!

januto is offline
NGWMark
Member
Join Date: Oct 2012
Location: Missouri, United States
Old 05-19-2013 , 17:23   Re: Simple Chat Responses
Reply With Quote #7

Is this still maintained? I need some help setting up the CFG file.
__________________


NGWMark is offline
LeoBRz
Member
Join Date: Oct 2014
Old 10-18-2014 , 20:41   Re: Simple Chat Responses
Reply With Quote #8

Not working on my CSGO server.
Error:
[SM] Unable to load plugin "simple-chatresponses.smx": Native "BfWriteByte" was not found

Only that plugin... =/
LeoBRz is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 05-18-2015 , 10:56   Re: Simple Chat Responses
Reply With Quote #9

Quote:
Originally Posted by LeoBRz View Post
Not working on my CSGO server.
Error:
[SM] Unable to load plugin "simple-chatresponses.smx": Native "BfWriteByte" was not found

Only that plugin... =/
same here ....
__________________
nguyenbaodanh is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 05-19-2015 , 19:37   Re: Simple Chat Responses
Reply With Quote #10

It works fine for TF2 - the only thing I'd like to see added is a "Cooldown" between responses. Such as a response from one word and then someone right after sends another word to be responded by the plugin but I'd rather it have a few posts cooldown in between.
Horsedick is offline
Reply


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 20:44.


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