/**************************************************************************
 *		Who, what, why, where, when, how?                         *
 * WHO?  Joe "Caveman" Noyes						  *
 * WHAT? plugin_cavey_adminlog.sma version 1.3                            *
 * WHY?  Someone asked for it on the admin_requests forum. This allows you*
 *       to log all Admin commands to a text file, just in case you are   *
 *       suspicious that your admins are abusing their powers.            *
 * WHERE?Oh yeah, we are in Exeter University.                            *
 *  	- http://gosh.ex.ac.uk/~py99jan                                   *
 * WHEN? This was last saved 21:34 19/08/2002                             *
 * HOW?	 To install this, compile the script and place it in the dlls     *
 *       directory in CStrike. Then add a line to the TOP of your         *
 *       plugin.ini file that lists the compiled .amx.                    *
 * Help! ICQ me on 70710878 with any bugs and issues.  I will NOT help    *
 *       compiling or installing this plugin beyond this text file as it  *
 *	 is all included on 						  *
 * 	- www.adminmod.org 						  *
 * 	 or in this file.  Enjoy ;)					  *
 * 	 								  *
 * 	 Caveman							  *
 *					                                  *
 **************************************************************************/

////////////////////////////  Changelog  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

21:34 19/08/2002 - Version 1.3
	Updated the script to work with AM 2.50.42

21:34 19/08/2002 - Version 1.2
	Updated the script to work with AM 2.50.37

16:08 17/06/2002 - Version 1.14
	Added a few extra options.  log_types 4 and 5 will log to a text file
	per WonID/IP (depends on sv_lan) and 5 will make one log file per day.
	ALso added support for multiple servers on one machine such that it
	includes the server port in the filename.

13:34 01/06/2002 - Version 1.12.x
	If you find it is not logging, you can now see why it is not working 
	using admin_version.  I also fixed a bug that could have caused it to 
	revert to the default settings instead of paying attention to the
	vault.ini.

20:29 17/05/2002 - Version 1.11
	A minor update.  I changed the "init" section so that it holds the
	number of commands it is monitoring in the plugin info, so use
	admin_version to see how many commands it is watching.

13:33 06/04/2002 - Version 1.1
	As 1.0 plus....
	 Added more ways to customise this without editing the file!!
	 Included the plugin_quiet into this file!
	 Also added some instructions!!!

13:33 06/04/2002 - Version 1.0
	COMPLETE REBUILD!!!!
	It now has no options to use on compilation and has the "admin_adminlog"
	command to configure the values stored in the vault.  The functionality 
	effectively remains the same but with nobs on.
	- All logs are now tab delimited.
	- Change where you stor logs on the fly.
	NB.  The loggedcmds.ini is now stored in "adminlogs" directory to force
	some admins who dont read the readme to create the damn directory.

18:21 07/02/2002 - Version 0.96
	Updated script to AM 2.50.26.

13:36 05/02/2002 - Version 0.95
	Added protection to stop it arsing filenames up.

12:05 26/01/2002 - Version 0.94
	Added the choice of how to log to the files.  Options are
	* One file
	* One file per day
	* One file per admin
	* One file per admin per day

12:05 26/01/2002 - Version 0.91
	Added the ability to filter admin_command run functions.  Some plugins
	have "admin_command admin_* <bits>" and so you can end up with a large
	number of lines which are useless.  Anyway, it is an option, if you 
	think it is open to abuse, disable it or log admin_point too.

18:26 21/01/2002 - Version 0.90
	Updated it to require no code editing on your part :)  In order to 
	log a command under v0.9, add the command you wish to log to the text
	file "loggedcmds.ini" and put it in your {mod} directory. Otherwise,
	it is just the same  :)

04 January 2002, 03:17:56 - Version 0.81
	Typo fixes.....

31 December 2001, 13:36:40 - Version 0.8
	It now will not print a "Target" for commands like admin_map where the
	'target' is a map or other variable. Fixed crashing bug from 0.75
	(never publicly released).

21 December 2001, 16:54:14 - Version 0.7
	First fully working beta version.

