// ============================================================================
// XMPReporter : An IRC match reporter bot for XMP.
// ============================================================================

// ============================================================================
// Info:
	XMPReporter is an IRC match reporter bot for XMP. It will run as a
	serveractor on a server, and report the events in the match (kills,
	hacks, artifact captures, chat, etc) to the IRC channel on the server
	specified.

// ============================================================================
// Install:
	To install XMPReporter, extract the XMPReporter.u and XMPReporter.ini
	files to your u2xmp/System directory.

	To make the bot run, you will need to add a line to your server's INI
	file, under the [Engine.GameEngine] area:
		ServerActors=XMPReporter.Main

	You will also need to edit the INI file to change which server and
	channel the bot connects to, and also set the options avaliable.

	See below for instructions on this.

// ============================================================================
// Configuration:
	In the INI file supplied, is a line that starts like:
		Settings=(Server="IRC.ENTERTHEGAME.COM",Port=6667 ...
	
	You will need to edit this line to change the bot's options. Below is
	information on each of the options:
		Server			The server the bot connects to.
		Port			The port on the server.
		BotName			The nickname the bot uses.
		Channel			The channel the bot joins.
		bDisplayKills		Whether the bot shows kills.
		bDisplayChat		Whether the bot shows in-game chat.
		bSetTopic		Whether the bot changes the topic, if
					this is set to false, the bot displays
					the data to the channel instead of
					setting the topic.
		ScoreShowFrequency	The time (in seconds) between displaying
					the names and scores of the players on
					each time.

	Configure the INI to reflect where and what you want the bot to go and
	do.

// ============================================================================
// Notes:
	The bot will drop connection every level change, and may sometimes
	flood itself off IRC. In each case it will reconnect as soon as it can.
	If the bot is kicked, it will try to rejoin the channel.

	This is version v1.01, with a fix to a bug that prevented the bot from
	joining the Quakenet IRC network.

	XMPReporter v1.01 by [-will-] <will@spambox.co.uk>
	Feel free to send me any bugs, suggestions, queries, and comments.
		