1 # blootbot configuration file, modify it to your own taste. blootbot reads
2 # this file from files/blootbot.config so it should be moved there.
9 set ircName blootbot experimental bot
11 ###set ircHost vh.virtualhost.org
15 # nickserv/chanserv support.
16 ###set nickServ_pass PASSWORD
17 ###set chanServ_ops #chan1 #chan2
19 # default quit message.
20 set quitMsg adios amigos
22 # path to a temporary directory which blootbot can use.
23 set tempDir /home/blootbot/Temp
26 # Factoid database configuration
29 # [str] Ability to remember/tell factoids
32 # SQLite -- SQLite (libdbd-sqlite-perl)
33 # pgsql -- postgresql (NOT SUPPORTED)
35 ### REQUIRED by factoids,freshmeat,karma,seen,...
38 # [str] DBM/SQLite filename prefix // MYSQL/PGSQL database.
39 # eg: blootbot-factoids, blootbot-seen
40 # eg: /var/db/mysql/blootbot/factoids.*
43 # [str] Hostname of database server (unset for SQLite)
46 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
49 # [str] SQL password. (unset for SQLite)
52 # [str] SQL debug file.
53 ###set SQLDebug SQL_debug.log
56 # Logfile configuration
59 # [file] where to put logging info. comment out to disable.
60 set logfile log/$ircUser.log
62 # [str] Type of logging.
63 # DAILY -- Create a new log each day.
64 # DEFAULT -- One continuous log file.
67 # [int] Maximum log size, if logfile is defined, in bytes.
68 set maxLogSize 10000000
71 # Factoid-related configuration
74 # [bool] Factoid support.
77 # [days] if not 0, number of days until factoid is deleted for good.
78 set factoidDeleteDelay 0
80 # [int] maximum length of factoid key.
83 # [int] maximum length of factoid value.
86 # [int] minimum length of unaddressed (message) question without question
87 # before it is answered involuntarily.
88 # This ignores the 'addressing' setting.
90 set minVolunteerLength 0
92 # [str] when should the bot bother learning new factoids.
93 # ADDRESSED -- only learn when addressed.
94 # HUNGRY -- learn irrelevent of addressing. this will catch
95 # _everything_, use at your own risk. I tried this ages
96 # ago and it caught quite funny responses but who knows
97 # if my modifications will prevent this or not, perhaps
98 # IsInvalid must be disabled?
101 # [str] different behaviour with URLs.
102 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
103 # OPTIONAL -- will take anything
104 # REJECT -- will not accept any urls. this makes it easy to
105 # run 2 with different nicks and styles.
106 # ^^^ what's the point of this???
107 set acceptUrl OPTIONAL
109 # [bool] profanity checking.
110 set profanityCheck false
112 # [0/1] tell so-and-so about such-and-such of a factoid.
115 # [str] other bots to ask for factoids which they may have.
116 #set friendlyBots url purl script mrapi
119 # Factoid related and unrelated features, mainly Extras.
122 # [str] addressing is when you name the bot. FIXME
123 # REQUIRE -- the bot only does something if addressed.
124 # OPTIONAL -- the bot responds (does not learn) irrelevent of
126 set addressing REQUIRE
128 # [char] One-character easy recognition.
129 set addressCharacter ~
131 # [str] how the bot should send messages.
132 # PRIVATE -- reply to private messages only, rejecting public msgs.
133 # DEFAULT -- reply to public _and_ private queries.
134 set talkMethod DEFAULT
136 # [str] how long the output string should be before it is changed from
138 # "+" before bot commands overrides this option temporarily.
139 ###set minLengthBeforePrivate 192
141 # [int] maximum length of reply for Extras function before popping list to
142 # reduce number of elements.
143 set maxListReplyLength 450
145 # [int] maximum number of elements in list allowed for Extras function
146 # before popping elements to reduce total count.
147 set maxListReplyCount 15
149 # [0/1] allow people outside any channels the bot is on to use the bot
150 # for factoids and commands.
151 set disallowOutsiders 1
153 # [int] time, in seconds. (different messages)
154 set floodMessages 10:30
155 # [int] same messages.
158 # [int] Amount of time for auto-ignore (flooding) to expire.
159 set ignoreAutoExpire 5
161 # [int] Amount of time for forced-online ignore to expire. minutes.
162 set ignoreTempExpire 60
165 # Internal (simple) bot commands
168 # [0/1] irc-cli calculator.
174 # [0/1] do you want to allow DNS lookup
177 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
178 # Disabling should make the bot work on Win32 and MacOS.
181 # [int] Backlog... ideal to see what happened to the bot on console.
182 # maximum number of lines to backlog.
189 # [str] anything which requires LWP + http proxy.
190 ###set httpProxy http://HOSTNAME:PORT/
192 # [0/1] babelfish translator. jdf++.
195 # [0/1] offer free factoid cookies
198 # [0/1] Countdown to specific dates
201 # [0/1] Debian file and package search.
203 # [int] how often to update the debian table, in days.
204 set debianRefreshInterval 1
205 # [0/1] extra stuff...
208 # [0/1] Frontend to dict.org's wordnet.
213 # [int] how often to update the freshmeat table, in hours.
214 set freshmeatRefreshInterval 24
216 # [bool] if factoid does not exist, check freshmeat for it.
217 set freshmeatForFactoid false
219 # [0/1] insult server
225 # [0/1] Frontend to kernel.org
234 # [0/1] Frontend to the stock market.
237 # [0/1] Display random text in the channel.
240 # [int] Interval (or more than), in minutes.
241 set randomQuoteInterval 60
243 # [0/1] Display random text in the channel.
244 set randomFactoid true
246 # [int] Interval (or more than), in minutes.
247 set randomFactoidInterval 60
249 # [0/1] Warn users about root.
251 # passive -- be polite plus stuff, compliant to OPN, heh.
253 set rootWarnMode passive
255 # [0/1] Factoid search.
258 # [0/1] persistant "seen".
260 # [0/1] seen statistics for online users like idle time, total message
263 # [int] if someone's been away for more than xx days, delete their info.
266 # [int] interval to flush cached seen info. in minutes.
267 set seenFlushInterval 60
268 # [bool] store all information, irrevelent of addressing.
270 # Will encourage severe leakaged (2-3x), caused by mysql-perl?
273 # [0/1] keeps stats on individual commands
276 # [0/1] slashdot headlines.
279 # [0/1] frontend to ispell.
282 # [0/1] Advanced topic management.
285 # [0/1] User Information Services.
288 # [0/1] Uptime daemon
291 # [0/1] Wingate checking and banning mechanism. FIXME.
293 # [int] seconds. minimum time to check.
294 set wingateInterval 60
298 set wingateKick Please don't use wingate
300 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
304 # [0/1] Unit conversion tool.
308 # Miscellaneous configuration options
311 # [int] Display a bit too much info about stuff.
317 # [0/1] Warn messages.
320 # [0/1] Debugging messages.
323 # [0/1] Work In Progress...
331 ###set dumpvarsAtExit 1
332 # log to specific file or global log file.
333 ###set dumpvarsLogFile dumpvars.log
335 # [str] Interface: [IRC/CLI]
336 # IRC -- Internet Relay Chat
337 # CLI -- Command Line Interface
341 # Now modify blootbot.chan for per-channel specific configuration see
342 # sample.chans for info.