--info--
By: Ken White (AKA: PapaSpooge)
This pluging is a replacement for plugin_wipeout_autoresponse.sma and  plugin_sank_AI.sma.
It performs the same basic functions with enhanced ability.  It allows the 
admin to place the autoresponses, key phrases (the phrase you are looking for, upto 2 can be 
specified) and the action to be taken (from just display a message to gagging the user) from 
a file (AR.TXT) that is parsed at plugin initialization or upon demand by the admin.  This
allows you to change the messages, actions, and keywords "on the fly" without having to 
recompile the autoresponder plugin. It also allows for up to 100 different levels of
actions to be executed based upon the user chat messages. This requires recompilation.

0	Just respond
1	Respond with the user name as a suffix to the the autoresponse
2	Respond with the user name as a prefix to the the autoresponse
3	Respond to a next map query	
4	Respond to a current map query
5	Respond to a ff on/off query
6	Respond to the use of a particularry offensive word/phrase and gag the 
	offender for 3 minutes.
7	Sends response only to the player that said the key phrase(s).
8	Respond using CSAY
9	Respond using TSAY
10	Slap a person for word or phrase
11	Gives Server Time

!!!Warning!!! Since every chat messages gets sent through this filter, a large number
of entries in the AR.TXT file (currently limited to 100) can lead to significant 
delays in the users chat messages being shown.  Very long chat messages exacerbate this
problem.


admin_parsearfile 
	Re-parses the auto response file. This needs to be done to activate the 
	changed to the AR.TXT file prior to a map change.
admin_ardebug
 	Toggles ar debug mode. This will display "<<SPOOGE AR>> Debug On"
	or "<<SPOOGE AR>> Turning Debug Off" to both the Server console and the 
                  CS admin Console. This enables ar debug mode this sets up verbose 
        	autoresponse messages to server console and enables autoresponse 
	debugging messages to be sent to the admins CS console. This is a 
	toggling function, when debug is off execute it ti turn debug on, again 
	to turn debug off.
admin_bitchslap
 	Toggles bitch slap mode. This will display "<<SPOOGE AR>> Bitch Slap On"
	or "<<SPOOGE AR>>  Bitch Slap Off" to both the Server console and the 
                  CS admin Console. It will slap a player if he/she uses any of the words in your
 	words file. In order for this to be effective this script must be loaded before 
	plugin_retribution or the word filter in the handle say located in plugin_retribution
 	must be disabled.

---Files---
plugin_spooge_AR.sma	-the source (windows text format)
AR.TXT			-An example Auto responder file 
                        		  (windows text format)
readme.txt		-this file
debugscript.txt		-a file to help with installation problems 
			 (windows text format)

-- Installation notes --
1. In the following installation instructions /mod-dir/ is the directory that  
   you halflife mod has been installed in.  For example: on my system my mod
   is installed in:
	/usr/local/bin/games/halflife/hlds_l/cstrike

2. You must enable file reads using the adminmod CVAR;
		file_access_read 1
   In your server.cfg file to get this to work (this applies to all 
   plugins that read files).
3. File names in Linux are case sensitive. AR.TXT is in all capital letters
   and should be kept that way. Also the AR in the script source name and 
   the binary is CAPITALIZED.  If you alter these names please reflect the
   changes in the plugin.ini file.


--Installation for windows--
I don't do no stinkin windows ... Ok fine ...
1) Extract plugin_spooge_ar.zip.
2) Compile plugin_spooge_AR.sma  and copy  plugin_spooge_AR.amx into
     to /mod-dir/addons/adminmod/scripts/
3) copy the AR.TXT to /mod-dir/
4) edit the AR.TXT to say what you want it to
5) AR.TXT can be edited (Dont make it too Big).
6) edit the plugin.ini to include the line(at the end of the file):
		addons/adminmod/scripts/plugin_spooge_AR.amx 
7) Comment out or remove all other autoresponders.
   	addons/adminmod/scripts/plugin_wipeout_autoresponse.amx
		addons/adminmod/scripts/plugin_sank_AI.amx
8) start server and it should work

--Installation for linux--
1) Extract plugin_spooge_ar.zip (make sure the files are in linux text
   format), The easiest way to do this is extract them in a windows
   folder and do an FTP transfer to your linux system with each file
   transfered as ASCII text.
2) Compile the plugin_spooge_AR.sma.
3) copy the plugin_spooge_AR.amx to /mod-dir/addons/adminmod/scripts/
4) copy the AR.TXT to /mod-dir/.  
5) edit the AR.TXT to say what you want it to.
6) AR.TXT can be edited (Don't make it too Big).
7) edit the plugin.ini to include the line(at the end of the file):
		addons/adminmod/scripts/plugin_spooge_ar.amx
8) Comment out or remove all other autoresponders.
   	addons/adminmod/scripts/plugin_wipeout_autoresponse.amx
		addons/adminmod/scripts/plugin_sank_AI.amx
9) start server and it should work

--Use notes--
1. The command to reparse the AR.TXT is 'admin_parsearfile'.
2. Dont make the AR.TXT file too big (limited to 100 auto responses in code).
3. Read and comply with the AR.TXT entry format specified in the AR.TXT file
   and in the comment header included in the plugin source code.
4. Place commonly used response lines at the begining of the AR.TXT file. This
   way, for common questions/auto responses you get a faster response and 
   plugin completion.

--problems?--
if you have problems, ICQ me at 103921775 or email me at woolyfsh@optonline.net