

1. What is hlConsole?
   
   hlConsole is an easy way to run a dedicated linux server without having
   to use screen.  It allows for indirect access to the console through 
   perl program that relays commands through a temporary infile.

2. Why do I need this?

   The *PRIMARY* purpose of hlConsole is to allow for MOTD printing in
   counter-strike.  Currently, the MOTD is broken.  This program includes
   a script that prints an MOTD to the server at pre-specified time
   intervals

3. How do I install this?

   hlConsole has a few steps one needs to follow.

	     1.  Edit a MOTD file for each port you run a server on
		 Example:  "pico motd.27015"

			   <inside the file>
			   say "Welcome to Bob's CStrike server"
			   say "Check your stats at:"
			   say "www.planethalflife.com/halfStats"

	     2.  Now start your server like so:
		 ./runport 27015 cstrike cs_siege
		 
		 This will run a dedicated server using the 'cstrike' game 
		 on port 27015 using the map cs_siege.bsp
			
		 Any server commands should be placed in "server.cfg" in the
		 game dir.  runport automatically executes the .cfg file

	     3.  Set a crontab entry for each server you run.
		 Type "crontab -e" at the command prompt.
		 
		 Enter a line like this:
		 0,15,30,45 * * * * /usr/local/games/halflife/printMOTD 27015

		 The above line will execute the motd file for port 27015
		 every 15 minutes.

		 NOTE, step 3 is not mandatory.  It is only useful for
		 counter-strike servers.  I do not recommend spamming
		 the motd on deathmatch/tfc servers unless the map never
		 changes (ie: gasworks 24/7)

4. I've got it installed and the MOTD is running, but I can't access the 
   console!!

   That is what the hlConsole file is for.  You run hlConsole like so:
   ./hlConsole portNo [lines]

   You will then get a prompt that looks like this:

   Enter the command to send to the console (or quit): 

   All you have to do is type a normal console command.  It will be
   sent to the server.  You will get #[lines] of text or 5 lines if
   you did not supply the optional [lines] number.

   Still dont get it?  type "./hlConsole -h" for another explanation.