1 # infobot configuration file, modify it to your own taste. infobot reads
2 # this file from files/infobot.config so it should be moved there.
7 # NOTE: If you would like multiple nick support, use the following format:
8 # set ircNick nick1,nick2,nick3
11 set ircName infobot experimental bot
12 # if your irc network requires a password to get on the servers
13 #set ircPasswd SomePassword
16 # if not using a virtualhost set to 0.0.0.0
17 # otherwise IRC::Connection might try localhost which will NOT work
18 ###set ircHost vh.virtualhost.org
24 ###set nickServ_pass PASSWORD
26 # default quit message.
27 set quitMsg adios amigos
29 # path to a temporary directory which infobot can use.
33 # Factoid database configuration
36 # [str] Ability to remember/tell factoids
39 # SQLite -- SQLite (libdbd-sqlite-perl) (might be version 2 or 3)
40 # SQLite2 -- SQLite (libdbd-sqlite-perl) (force version 2)
41 # pgsql -- postgresql (SUPPORTED and TESTED!!!)
42 ### REQUIRED by factoids,freshmeat,karma,seen,...
45 # [str] SQLite filename prefix // MYSQL/PGSQL database.
46 # eg: infobot-factoids, infobot-seen
47 # eg: /var/db/mysql/infobot/factoids.*
50 # [str] Hostname of database server (unset for SQLite)
53 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
56 # [str] SQL password. (unset for SQLite)
59 # [str] SQL debug file. "-" for stdout may work on some platforms
60 ###set SQLDebug SQL_debug.log
63 # Logfile configuration
66 # [file] where to put logging info. comment out to disable.
67 #set logfile log/$ircUser.log
70 # [str] Type of logging.
71 # DAILY -- Create a new log each day.
72 # DEFAULT -- One continuous log file.
75 # [int] Maximum log size, if logfile is defined, in bytes.
76 set maxLogSize 10000000
79 # Factoid-related configuration
82 # [bool] Factoid support.
85 # [days] if not 0, number of days until factoid is deleted for good.
86 set factoidDeleteDelay 0
88 # [int] maximum length of factoid key.
91 # [int] maximum length of factoid value.
94 # [str] when should the bot bother learning new factoids.
95 # ADDRESSED -- only learn when addressed.
96 # HUNGRY -- learn irrelevent of addressing. this will catch
97 # _everything_, use at your own risk.
100 # [str] different behaviour with URLs.
101 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
102 # OPTIONAL -- will take anything
103 # REJECT -- will not accept any urls. this makes it easy to
104 # run 2 with different nicks and styles.
105 # ^^^ what's the point of this???
106 set acceptUrl OPTIONAL
108 # [bool] profanity checking.
109 set profanityCheck false
111 # [0/1] tell so-and-so about such-and-such of a factoid.
114 # [str] other bots to ask for factoids which they may have.
115 #set friendlyBots url purl script mrapi
118 # Factoid related and unrelated features, mainly Extras.
121 # [str] addressing is when you name the bot. FIXME:
122 # REQUIRE -- the bot only does something if addressed.
123 # OPTIONAL -- the bot responds (does not learn) irrelevent of
125 set addressing REQUIRE
127 # [str] how the bot should send messages.
128 # PRIVATE -- reply to private messages only, rejecting public msgs.
129 # DEFAULT -- reply to public _and_ private queries.
130 set talkMethod DEFAULT
132 # [str] how long the output string should be before it is changed from
134 # "+" before bot commands overrides this option temporarily.
135 ###set minLengthBeforePrivate 192
137 # [0/1] allow people outside any channels the bot is on to use the bot
138 # for factoids and commands.
139 set disallowOutsiders 1
141 # [int] Amount of time for auto-ignore (flooding) to expire.
142 set ignoreAutoExpire 5
144 # [int] Amount of time for forced-online ignore to expire. minutes.
145 set ignoreTempExpire 60
148 # Internal (simple) bot commands
151 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
152 # Disabling should make the bot work on Win32 and MacOS.
155 # [int] Backlog... ideal to see what happened to the bot on console.
156 # maximum number of lines to backlog.
163 # [str] anything which requires LWP + http proxy.
164 ###set httpProxy http://HOSTNAME:PORT/
166 # [0/1] countdown to specific dates
169 # [0/1] Debian file and package search.
170 # FIXME: should be a channel option
175 # [int] how often to update the freshmeat table, in hours.
176 set freshmeatRefreshInterval 24
178 # [bool] if factoid does not exist, check freshmeat for it.
179 set freshmeatForFactoid false
184 # [minutes] RSS Feeds refresh interval
188 # Miscellaneous configuration options
191 # [int] Display a bit too much info about stuff.
197 # [0/1] Warn messages.
200 # [0/1] Debugging messages.
203 # [0/1] Work In Progress...
211 ###set dumpvarsAtExit 1
212 # log to specific file or global log file.
213 ###set dumpvarsLogFile dumpvars.log
216 ###set symdumpLogFile log/dumpvars2.log
218 # [str] Interface: [IRC/CLI]
219 # IRC -- Internet Relay Chat
220 # CLI -- Command Line Interface
223 # [0/1] Show topic author (troubled)
224 # If 1, topics managed with !topic add foo will show the nick in ()'s
225 # If 0, the nick of the creator will be recorded for !topic list, but not shown in the topic itself
229 # Now modify infobot.chan for per-channel specific configuration see
230 # sample.chans for info.