The manual page for the IrcBot configuration file format.

Name

ppbot.conf - configuration file for ppbot

Description

The ppbot.conf file specifies the configuration for ppbot. This file consists of server definitions, channel definitions and configuration parameters. To start ppbot, there needs to be at least one server defined in the configuration file.

Empty lines and lines starting with a hash character ('#') are ignored.

Server definition

A server is defined by the keyword 'server', following by an unique identifier. The configuration parameters for the server are specified between an opening brace and a closing brace.

Channel definition

A channel is defined by the keyword 'channel', followed by the channel name. The configuration parameters for the channel are specified between an opening brace and a closing brace.

A channel may only be defined inside a server section.

Parameters

The configuration parameters start with a keyword, then one or more space characters and the value for the keyword. Double quote characters can be used to specify strings with spaces or special characters in them.

Global parameters

The following parameters and arguments are recognized in the global section:

debug boolean

logfile file

plugin file

Server parameters

The following parameters and arguments are recognized in the server section:

address string

altnick string

ident string

nickname string

password string

port number

realname string

Channel parameters

The following parameters and arguments are recognized in the channel section:

key string

logfile file

Example

An example ppbot.conf file:

server pointless {
    address   pointless.nl
    nickname  ppbot

    channel #foobar

    channel #secret { key mysecretkey }
}

plugin plugins/google.so
plugin plugins/feed.so

logfile logs/ppbot.log

See Also

IrcBotManual

IrcBotConfManual (last edited 2009-08-25 17:25:05 by localhost)