This is a list of most of the defines used in Lachesis. Notably absent are
IRC numerics (irc-numeric.h), bitmasks (types.h), and internals which
shouldn't be changed.

ALLOC_ACCT:		(alloc.h)
	Defines the length of the buffer used for user account names.
	Default:  31

ALLOC_BUFFER:		(alloc.h)
	Defines the length of buffers used for storing lines of data.
	This is used in several places. In the event this is too small, 
	you should get an error telling you to increase it.
	Default:  1024

ALLOC_CHAN:		(alloc.h)
	Defines the length of the buffer used for channel names. If this
	is less than or equal to the length of the channel names the bot
	is asked to join (and thus track people in), it's possible the
	bot will be unable to distinguish between similarly-named
	channels.
	Default:  51

ALLOC_HOST:		(alloc.h)
	Defines the length of the buffer used for hostnames. If this is
	less than or equal to the length of the hostnames the bot deals
	with, it's possible the bot will be unable to distinguish between
	similar hostnames. If this is less than or equal to the length of
	the bot's hostname, the IRC interface may not function properly.
	Default:  81

ALLOC_MINIBUFFER:	(alloc.h)
	Defines the length of buffers used to store large strings such as
	prefixes. Similar to ALLOC_BUFFER but doesn't need to be large 
	enough to hold a line of server output.
	Default:  256

ALLOC_NAME:		(alloc.h)
	Defines the length of the buffer used to store a "Real Name". I
	think this is currently only used for storing our own "Real Name".
	Default:  51

ALLOC_NICK:		(alloc.h)
	Defines the length of the buffer used to store IRC nicknames. This
	should always be 1 greater than the maximum number of characters
	allowed for nicks out of all the servers you plan to use the bot
	with. Old ircds allow 9 character nicks, DALnet (and most other
	modern networks) allow 30. If this number is too small the user
	tracking system will be BROKEN and it will be possible to SPOOF
	LOGGED IN USERS! Make sure this is big enough!
	Default:  31

ALLOC_PASS:		(alloc.h)
	Defines the length of the buffer used to store passwords. Set this
	to 1 greater than the maximum password length you intend to allow.
	Default:  16

ALLOC_USER:		(alloc.h)
	Defines the length of the buffer used to store usernames (part of
	the prefix). See ALLOC_HOST for warnings about this being too low.
	Default:  21

ALLOW_ANY_TO_ROLL:	(config.h)
	If this is defined, the roll and wroll commands will be available
	to anyone, regardless of whether they are valid users. This is only
	used if RPGSERV is defined.

AUTO_RECONNECT:		(config.h)
	If this is defined, the bot will attempt to create a new connection
	to IRC when its current connection is lost. This is not fully
	implemented yet and most likely will not work how you expect it to.
	Leave it undefined for now.

DEBUG:			(config.h)
	If this is defined, Lachesis will spam stderr with a LOT of minor
	status messages for almost every function call in the program.

DFL_IRCCHAN:		(config.h)
	Defines the default IRC channel to join on startup. If this isn't
	defined, and no channel is specified on the command line, the bot
	won't join a channel. This is generally a Bad Thing, since the only
	way you can get it to do anything at this point is if the master
	account has the Security option turned off.

DFL_IRCNAME:		(config.h)
	Defines the default "Real Name" to send to the server.

DFL_IRCNICK:		(config.h)
	Defines the default IRC nickname to register under.

DFL_IRCUSER:		(config.h)
	Defines the default username to send to the server. This is only
	used if NO_USERID is defined.

NO_USERID:		(config.h)
	If this is defined, Lachesis will not send the name of the user
	running Lachesis to the server; DFL_IRCUSER is used as a default
	name instead.

NO_USER_MSGNOTICE	(config.h)
	If this is defined, RPGServ will not allow the MSG and NOTICE
	commands to be used by accounts other than the master. This is
	only used if RPGSERV is defined.

RPGSERV:		(Makefile.RPGServ)
	If this is defined, the code builds for RPGServ behavior:
	The RPG engine is not included.
	Only the actions, authcmd, channel, logcmd, and roll command
	modules are included.
	The actions module becomes the root command module (e.g. 'do say'
	becomes 'say', etc.)
	The actions module becomes usable by all users, not just the
	master account.
	RPGServ is intended to perform logging and relay speech and actions
	but does not perform the game management functions of Lachesis.

STDERR_LOG_FILE:	(config.h)
	Defines a filename to which error messages will be logged. Saves
	the bother of using shell redirection to log stderr.

WROLL_USES_SUCC_FLAG:	(config.h)
	Second Edition White-Wolf games count a botch any time you have
	more 1s than successes. Revised White-Wolf games count a botch
	only if you roll a 1 without any successes. Defining this causes
	wroll to implement Revised botching.

@(#) $Id: defines.txt,v 1.1.1.1 2004/01/16 07:28:15 lachesis Exp $
