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 # pgsql -- postgresql (NOT SUPPORTED)
34 ### REQUIRED by factoids,freshmeat,karma,seen,...
37 # [str] DBM filename prefix // MYSQL/PGSQL database.
38 # eg: blootbot-factoids, blootbot-seen
39 # eg: /var/db/mysql/blootbot/factoids.*
42 # [str] Hostname of database server
45 # [str] SQL user allowed to insert,update,delete stuff from tables.
51 # [str] SQL debug file.
52 ###set SQLDebug SQL_debug.log
55 # Logfile configuration
58 # [file] where to put logging info. comment out to disable.
59 set logfile log/$ircUser.log
61 # [str] Type of logging.
62 # DAILY -- Create a new log each day.
63 # DEFAULT -- One continuous log file.
66 # [int] Maximum log size, if logfile is defined, in bytes.
67 set maxLogSize 10000000
70 # Factoid-related configuration
73 # [bool] Factoid support.
76 # [days] if not 0, number of days until factoid is deleted for good.
77 set factoidDeleteDelay 0
79 # [int] maximum length of factoid key.
82 # [int] maximum length of factoid value.
85 # [int] minimum length of unaddressed (message) question without question
86 # before it is answered involuntarily.
87 # This ignores the 'addressing' setting.
89 set minVolunteerLength 0
91 # [str] when should the bot bother learning new factoids.
92 # ADDRESSED -- only learn when addressed.
93 # HUNGRY -- learn irrelevent of addressing. this will catch
94 # _everything_, use at your own risk. I tried this ages
95 # ago and it caught quite funny responses but who knows
96 # if my modifications will prevent this or not, perhaps
97 # IsInvalid must be disabled?
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 # [char] One-character easy recognition.
128 set addressCharacter ~
130 # [str] how the bot should send messages.
131 # PRIVATE -- reply to private messages only, rejecting public msgs.
132 # DEFAULT -- reply to public _and_ private queries.
133 set talkMethod DEFAULT
135 # [str] how long the output string should be before it is changed from
137 # "+" before bot commands overrides this option temporarily.
138 ###set minLengthBeforePrivate 192
140 # [int] maximum length of reply for Extras function before popping list to
141 # reduce number of elements.
142 set maxListReplyLength 450
144 # [int] maximum number of elements in list allowed for Extras function
145 # before popping elements to reduce total count.
146 set maxListReplyCount 15
148 # [0/1] allow people outside any channels the bot is on to use the bot
149 # for factoids and commands.
150 set disallowOutsiders 1
152 # [int] time, in seconds. (different messages)
153 set floodMessages 10:30
154 # [int] same messages.
157 # [int] Amount of time for auto-ignore (flooding) to expire.
158 set ignoreAutoExpire 5
160 # [int] Amount of time for forced-online ignore to expire. minutes.
161 set ignoreTempExpire 60
164 # Internal (simple) bot commands
167 # [0/1] irc-cli calculator.
173 # [0/1] do you want to allow DNS lookup
176 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
177 # Disabling should make the bot work on Win32 and MacOS.
180 # [int] Backlog... ideal to see what happened to the bot on console.
181 # maximum number of lines to backlog.
188 # [str] anything which requires LWP + http proxy.
189 ###set httpProxy http://HOSTNAME:PORT/
191 # [0/1] babelfish translator. jdf++.
194 # [0/1] offer free factoid cookies
197 # [0/1] Countdown to specific dates
200 # [0/1] Debian file and package search.
202 # [int] how often to update the debian table, in days.
203 set debianRefreshInterval 1
204 # [0/1] extra stuff...
207 # [0/1] Frontend to dict.org's wordnet.
212 # [int] how often to update the freshmeat table, in hours.
213 set freshmeatRefreshInterval 24
215 # [bool] if factoid does not exist, check freshmeat for it.
216 set freshmeatForFactoid false
218 # [0/1] insult server
224 # [0/1] Frontend to kernel.org
233 # [0/1] Frontend to the stock market.
236 # [0/1] Display random text in the channel.
239 # [int] Interval (or more than), in minutes.
240 set randomQuoteInterval 60
242 # [0/1] Display random text in the channel.
243 set randomFactoid true
245 # [int] Interval (or more than), in minutes.
246 set randomFactoidInterval 60
248 # [0/1] Warn users about root.
250 # passive -- be polite plus stuff, compliant to OPN, heh.
252 set rootWarnMode passive
254 # [0/1] Factoid search.
257 # [0/1] persistant "seen".
259 # [0/1] seen statistics for online users like idle time, total message
262 # [int] if someone's been away for more than xx days, delete their info.
265 # [int] interval to flush cached seen info. in minutes.
266 set seenFlushInterval 60
267 # [bool] store all information, irrevelent of addressing.
269 # Will encourage severe leakaged (2-3x), caused by mysql-perl?
272 # [0/1] slashdot headlines.
275 # [0/1] frontend to ispell.
278 # [0/1] Advanced topic management.
281 # [0/1] User Information Services.
284 # [0/1] Uptime daemon
287 # [0/1] Wingate checking and banning mechanism. FIXME.
289 # [int] seconds. minimum time to check.
290 set wingateInterval 60
294 set wingateKick Please don't use wingate
296 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
300 # [0/1] Unit conversion tool.
304 # Miscellaneous configuration options
307 # [int] Display a bit too much info about stuff.
313 # [0/1] Warn messages.
316 # [0/1] Debugging messages.
319 # [0/1] Work In Progress...
324 ###set dumpvarsAtExit 1
325 # log to specific file or global log file.
326 ###set dumpvarsLogFile dumpvars.log
328 # [str] Interface: [IRC/CLI]
329 # IRC -- Internet Relay Chat
330 # CLI -- Command Line Interface
334 # Now modify blootbot.chan for per-channel specific configuration see
335 # sample.chans for info.