CONTENTSINDEXPREVNEXTHOME
- Config file -

 All config files reside in "progdir:config/"

 Any line in the config file starting with # as the first character will
be treated as a comment.

 Any keyword that you do not include in the config file will be set to the
 value show as default.
-------------------------------------------------------------------------

o  SERVER
 args: ircservername/portnumber
 IRC server name and port number to log onto.
 default is localhost/6667

 You can have multiple SERVER settings in the same config file. Emerod will
 attempt to connect to the first one, if no connect then will try the next
 one, etc.

o  OPERCMD	 Pro only 
 args; nick passwd
 This is the nick and password for the OPER command when the bot has
 IRCOP status.
 default is none

o  OPERMYSELF	 Pro only 
 args; 0 or 1
 If an OPERCMD is set, should it be sent when the bot connects to the
 server to get its IRCOP status.
 0=no 1=yes
 default is 1

o  OPMYSELF	 Pro only 
 args: 0 or 1
 If the bot is IRCOP, should it give itself channel op when it joins a
 channel.
 0=no 1=yes
 default is 0

o  NICK
 args: nick
 The nickname the bot wil log in with.
 default is RoBoT

o  USER
 args: username
 The username to bot will log in with.
 default is robot

o  WHOIS
 args: whois info
 The info that will be displayed when somone does a /whois on the bot.
 default is the version string.

o  USERINFO
 args: text
 The info that will be displayed when somone sends a ctcp USERINFO request
 to the bot.
 default "/msg <botnick> help"

o  CHAN
 args: channelname
 Channel to join on connect.
 default is #test

o  CHANKEY
 args: keyword
 Will use this keyword when joining the default channel.
 default is none

o  GREET
 args: text
 If you have this set then the bot will say "text" as soon as he joins the
 channel. This over-rides QUIET and will say it to the channel even if
 QUIET is set to 1.
 default is none

o  CMDCHAR
 args: character
 The command character that lets the bot know you are talking to it.
 default is !

o  USERSFILE
 args: userfilename
 Name of the users file to use. If one does not exist, it will be created
 in progdir:data/
 default is Emerod.users

o  USERSSAVE
 args: number
 This tells Emerod how many changes to the usersfile before it backs the
 changes to disk. 1=save every change. 2=save every 2nd change. Etc.
 Usersfile saving is also timed; it is saved every half hour if no changes
 have been made to it, just for safety sake.
 default is 4

o  QUIET
 args: 0 or 1
 Can I talk on the channel. If not, all replies will be sent in notices.
 0=talk 1=quiet
 default is 0

o  AUTOOP
 args: 0 or 1
 Should I autoOp level 6+ users when they Join the channel.
 0=no 1=yes
 default is 1

o  AOPMENU
 args: 0 or 1
 This will disable the AUTOOP menu command toggle and remove it from the
 help menu.
 AOPMENU 0    disables the option.
 Emerod will still auto op people when they join if AUTOOP = 1 but will
 turn the menu command off so it can't be toggled on/off by a user.
 default is 1

o  DEFTOPIC
 args: default topic text
 This is the default topic to set on Join if DOTOPIC=1 and when the MODE
 command is used with no arguments.
 default is "/msg MYNICK help"

o  DOTOPIC
 args: 0 or 1
 Should I set the channel topic to DEFTOPIC on Join. This only works if
 the bot is the first one on the channel, or if the bot has OPER.
 0=don't set topic 1=set topic on join
 default is 1

o  PROTOPIC	 Pro only 
 args: 0 or 1
 Protect channel topic. If set to 1 (on) when anyone below level 6 changes
 the topic they will be deop'd and the topic set back to what it was before
 they changed it. This only works, of course, if the bot has channel op.
 If set to 0 then it doesn't protect the topic.
 default is 0 (no protection)

o  DEFMODES
 args: +-x[+-x+-x]
 Default channel modes to set when the bot joins the channel if DOMODES is
 turned on, or when the MODE command is used with no arguments.
 Each mode command must have the + or - in front of it. You can not stack
 commands like you do on the IRC.
 default is +t+n-s-i-p-m-l-k

o  DOMODES
 args: 0 or 1
 Should the bot set the channel modes on Join. If this is set to 1 then the
 bot will "protect" the channel modes.
 0=no 1=yes
 default is 1

o  NOTEXT
 args: text string
 Text to send a user that tries to use a command they don't don't have
 access to.
 default is "No way Jose!"

o  PONG
 args: 0 or 1
 Should the bot reply to a "ping" to the channel with *PONG*.
 0=no 1=yes
 default is 1

o  LOCALCON
 args: 0 or 1
 Open an Emerod Input Console at startup.
 0=no 1=yes
 default is 0

o  EICSIZE
 args: top_edge/left_edge/width/height
 Customize the EIC consile size and placement. The syntax is standard CON
 size syntax.
 Example:  EICSIZE 0/0/640/100
 default is 0/10/640/45

o  AFINDHOST
 args: ftp hostname
 Aminet ftp site for AFIND to use.
 default is ftp.wustl.edu

o  AFINDMAX
 args: num
 Maximum number of lines to return from AFIND.
 default is 10

o  WALLOPS
 args: 0 or 1
 Should Emerod recieve wallops or not.
 0=no 1=yes
 default is 0

o  INVISIBLE
 args: 0 or 1
 Should Emerod be invisible or not.
 0=no 1=yes
 default is 0

o  SET6
 args: low,high
 Low and high access a level 6 user can SET another user.
 Valid entries are 0 through 9. Low and high are seperated by a comma with
 no spaces.
 default is 2,5

o  SET7
 args: low,high
 Low and high access a level 7 user can SET another user.
 Valid entries are 0 through 9. Low and high are seperated by a comma with
 no spaces.
 default is 2,6

o  SET8
 args: low,high
 Low and high access a level 8 user can SET another user.
 Valid entries are 0 through 9. Low and high are seperated by a comma with
 no spaces.
 default is 0,7

o  SET9
 args: low,high
 Low and high access a level 9 user can SET another user.
 Valid entries are 0 through 9. Low and high are seperated by a comma with
 no spaces.
 default is 0,9

o  BEEP
 args: 0, 1, 2
 What should Emerod do when someone sends a CTRL-G (bell) to the channel.
 0 = Do nothing. 1 = Send user a notice asking them not to do that.
 2 = Kick the user from the channel.
 default is 2

o  PURGE_DAYS
 args: number
 When Emerod is started and the usersfile is loaded, accounts older than
 "number" days old are purged.
 default is 60

o  PURGE3_DAYS
 args: number
 When Emerod is started and the usersfile is loaded, level 3 accounts
 older than "number" days old are purged.
 default is 7

o  NO_PURGE
 args: number number number ...
 When PURGE_DAYS kicks in and purges unused accounts, the levels defined in
 NO_PURGE will not be purged.
 default is 0 1 8 9

o  CHATLOG	 Pro only 
 args: 0 or 1
 Should Emerod start logging the channel chatter to an html file as soon as
 the channel is joined.
 0=don't start log, 1=do start log.
 default is 0

o  CHATFILE	 Pro only 
 args: filename
 The full path and filename of the chat log file.
 default is ram:Chat<portnumber>.html

o  CHATTITLE	 Pro only 
 args: title text
 Title text for html log file.
 default is  IRC Chat Log

o  NOTENEW
 args: 0 or 1
 Should Emerod say "hello" to unknown users when they join the channel.
 0 = no don't greet unknown users.
 1 = greet unknown users.
 default is 0

o  KICKDEF
 args: kick text
 The default kick reason.
 default is Goodbye

o  KILLDEF	 Pro only 
 args: kill text
 The default kill reason.
 default is Goodbye

o  BANTIME
 args: minutes
 When Emerod sets a BAN on someone, after this number of minutes the ban
 will be automaticly removed.
 default is 15

o  TRACECMD	 Pro only 
 args: traceroute command
 Defines what command to use for the TRACE command.
 If you want to use another traceroute command, such as miamitraceroute,
 then enter its path and filename here.
 default is "traceroute"

o  ASKHOSTCMD	 Pro only 
 args: askhost command
 Defines what command to use for the ASKHOST command.
 If you want to use another askhost command. The askhost command is part
 of AmiTCP demo package available on aminet /comm/tcp/AmiTCP-demo-40.lha
 I don't know of anywhere else to get it seperatly.
 default is "askhost"

o  ADMINPASS
 args: password
 Defines a password for the ADMIN command that allows emergency
 administration access.
 default is none

o  CLI_PASS
 args: password
 If set then CLI command will require the password entered to work. This
 MUST be sent to the bot in a private message; /msg bot cli passwd command
 If you send the cli password command to the channel, the CLI command
 will be disabled.

 If you want the cli output to go to the channel use;
 /msg bot <cmdchar>cli passwd command

 If CLI_PASS is not set then CLI does not require any password.

 default is none

o  TELNET_SHELL	 Pro only 
 args: shell
 Define what shell command to use for the TELNET command. I don't use
 newshell on my computer so I put newwsh in here. If you set TELNET_SHELL
 to 0 then the TELNET will be disabled and removed from the help menu.
 default is newshell

o  TELNET_PASS	 Pro only 
 args: password
 An optional password for the TELNET command. As with CLI, if the password
 is sent to the channel rather than a /msg to the bot, telnet will be
 disabled and the password will be nulled.
 default is none

o  OWNER
 args: your name & email address
 If OWNER is defined then the command will show in the command list.
 default is none (not on menu)

o  SERVERBOT	 Pro only 
 args: botname
 When used on an Undernet or ARCNet server and the bot has IRCOP status
 and access to the serverbot, then put the serverbot name here and when
 Emerod finds a level 0 user a GLINE command will be sent to the serverbot.
 default is 

o  YAWNTYPE
 args: 0 | 1 | 2
 Defines "Yawn" action - when the channel is quiet for a half hour or
 more Emerod can say somthing to the channel to wake them up.
 Set to 0 it will send the random text fromthe data/yawn.text file.
 Set to 1 it will send a random cookie.
 Set to 2 it will randomly choose option 0 or 1.
 default is 0

 To disable Yawning, don't set YAWNTYPE and delete /data/yawn.text

o  YAWNDELAY
 args: seconds
 This defines how long to the channel is quiet before the bot says sends
 some "wake up" text to the channel.
 default is 1800 (30 minutes). Minimum setting is 600 (10 minutes).

o  QUITCMD
 args: quit command
 This is an optional command that does the same as QUIT. This is so you can
 define your own "cute" QUIT command like "GOAWAY" or "DIECOMMIEBASTARD".
 This command does not disable QUIT, it just makes two QUIT commands.
 default is none.