1 # blootbot configuration file, modify it to your own taste.
3 # [str] Interface: [IRC/CLI]
4 # IRC -- Internet Relay Chat
5 # CLI -- Command Line Interface
11 set ircName blootbot experimental bot
13 ###set ircHost vh.virtualhost.org
17 # nickserv/chanserv support.
18 ###set nickServ_pass PASSWORD
19 ###set chanServ_ops #chan1 #chan2
21 # default quit message
22 set quitMsg adios amigos
25 set tempDir /home/blootbot/Temp
31 # [file] where to put logging info. comment out to disable.
32 set logfile log/$ircUser.log
34 # [str] Type of logging.
35 # DAILY -- Create a new log each day.
36 # DEFAULT -- One continuous log file.
39 # [int] Maximum log size, if logfile is defined, in bytes.
40 set maxLogSize 10000000
43 # Factoid DB Configuration
46 # [str] Ability to remember/tell factoids
49 # pgsql -- postgresql (NOT SUPPORTED)
51 ### REQUIRED by factoids,freshmeat,karma,seen,...
54 # [str] DBM filename prefix // MYSQL/PGSQL database.
55 # eg: blootbot-factoids, blootbot-seen
56 # eg: /var/db/mysql/blootbot/factoids.*
59 # [str] Hostname of database server
62 # [str] SQL user allowed to insert,update,delete stuff from tables.
68 # [str] SQL debug file.
69 ###set SQLDebug SQL_debug.log
72 # factoid-related configuration
75 # [bool] Factoid support.
78 # [days] if not 0, number of days until factoid is deleted for good.
79 set factoidDeleteDelay 0
81 # [int] maximum length of factoid key.
84 # [int] maximum length of factoid value.
87 # [int] minimum length of unaddressed (message) question without question
88 # before it is answered involuntarily.
89 # This ignores the 'addressing' setting.
91 set minVolunteerLength 0
93 # [str] when should the bot bother learning new factoids.
94 # ADDRESSED -- only learn when addressed.
95 # HUNGRY -- learn irrelevent of addressing. this will catch
96 # _everything_, use at your own risk. I tried this ages
97 # ago and it caught quite funny responses but who knows
98 # if my modifications will prevent this or not, perhaps
99 # IsInvalid must be disabled?
102 # [str] different behaviour with URLs.
103 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
104 # OPTIONAL -- will take anything
105 # REJECT -- will not accept any urls. this makes it easy to
106 # run 2 with different nicks and styles.
107 # ^^^ what's the point of this???
108 set acceptUrl OPTIONAL
110 # [bool] profanity checking.
111 set profanityCheck false
113 # [0/1] tell so-and-so about such-and-such of a factoid.
116 # [str] other bots to ask for factoids which they may have.
117 #set friendlyBots url purl script mrapi
120 # factoid related and unrelated features, mainly Extras.
123 # [str] addressing is when you name the bot. FIXME
124 # REQUIRE -- the bot only does something if addressed.
125 # OPTIONAL -- the bot responds (does not learn) irrelevent of
127 set addressing REQUIRE
129 # [char] One-character easy recognition.
130 set addressCharacter ~
132 # [str] how the bot should send messages.
133 # PRIVATE -- reply to private messages only, rejecting public msgs.
134 # DEFAULT -- reply to public _and_ private queries.
135 set talkMethod DEFAULT
137 # [str] how long the output string should be before it is changed from
139 # "+" before bot commands overrides this option temporarily.
140 ###set minLengthBeforePrivate 192
142 # [int] maximum length of reply for Extras function before popping list to
143 # reduce number of elements.
144 set maxListReplyLength 450
146 # [int] maximum number of elements in list allowed for Extras function
147 # before popping elements to reduce total count.
148 set maxListReplyCount 15
150 # [0/1] allow people outside any channels the bot is on to use the bot
151 # for factoids and commands.
152 set disallowOutsiders 1
154 # [int] time, in seconds. (different messages)
155 set floodMessages 10:30
156 # [int] same messages.
159 # [int] Amount of time for auto-ignore (flooding) to expire.
160 set ignoreAutoExpire 5
162 # [int] Amount of time for forced-online ignore to expire. minutes.
163 set ignoreTempExpire 60
166 # Internal (simple) bot commands
169 # [0/1] irc-cli calculator.
175 # [0/1] do you want to allow DNS lookup
178 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
179 # Disabling should make the bot work on Win32 and MacOS.
182 # [int] Backlog... ideal to see what happened to the bot on console.
183 # maximum number of lines to backlog.
190 # [int] Display a bit too much info about stuff.
196 # [0/1] Warn messages.
199 # [0/1] Debugging messages.
202 # [0/1] Work In Progress...
207 ###set dumpvarsAtExit 1
208 # log to specific file or global log file.
209 ###set dumpvarsLogFile dumpvars.log
211 # [0/1] allow 'use strict', makes bot unreliable.
218 # [str] anything which requires LWP + http proxy.
219 ###set httpProxy http://HOSTNAME:PORT/
221 # [0/1] babelfish translator. jdf++. FIXME [DOES NOT WORK]
224 # [0/1] offer free factoid cookies
227 # [0/1] Countdown to specific dates
230 # [0/1] Debian file and package search.
232 # [int] how often to update the debian table, in days.
233 set debianRefreshInterval 1
234 # [0/1] extra stuff...
237 # [0/1] Frontend to dict.org's wordnet.
242 # [int] how often to update the freshmeat table, in hours.
243 set freshmeatRefreshInterval 24
244 # [chans|all] 10items/hour, might be annoying.
245 ###set freshmeatAnnounce #debian-bots
246 # [bool] if factoid does not exist, check freshmeat for it.
247 set freshmeatForFactoid false
249 # [0/1] insult server
255 # [0/1] Frontend to kernel.org
257 ###set kernelAnnounce #debian-bots
262 # [array] Channel limit adjuster. List of channels.
263 ###set limitcheck #debian-bots
264 # [int] Interval (or more than), in minutes.
265 set limitcheckInterval 10
266 # [int] Adjust channel limit to 10 above total users in channel.
267 set limitcheckPlus 10
272 # [0/1] Frontend to the stock market.
275 # [0/1] Display random text in the channel.
278 set randomQuoteChannels #debian-bots
279 # [int] Interval (or more than), in minutes.
280 set randomQuoteInterval 60
282 # [0/1] Display random text in the channel.
283 set randomFactoid true
285 set randomFactoidChannels #debian-bots
286 # [int] Interval (or more than), in minutes.
287 set randomFactoidInterval 60
289 # [0/1] Warn users about root.
291 # passive -- be polite plus stuff, compliant to OPN, heh.
293 set rootWarnMode passive
295 # [0/1] Factoid search.
298 # [0/1] persistant "seen".
300 # [0/1] seen statistics for online users like idle time, total message
303 # [int] if someone's been away for more than xx days, delete their info.
306 # [int] interval to flush cached seen info. in minutes.
307 set seenFlushInterval 60
308 # [bool] store all information, irrevelent of addressing.
310 # Will encourage severe leakaged (2-3x), caused by mysql-perl?
313 # [0/1] slashdot headlines.
315 ###set slashdotAnnounce #debian-bots
317 # [0/1] frontend to ispell.
320 # [0/1] Advanced topic management.
323 # [0/1] User Information Services.
326 # [0/1] Uptime daemon
329 # [0/1] Wingate checking and banning mechanism. FIXME.
331 # [int] seconds. minimum time to check.
332 set wingateInterval 60
336 set wingateKick DIE DIE DIE
338 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
342 # [0/1] Unit conversion tool.
346 #### now modify blootbot.chans for per-channel specific configuration
347 #### see sample.chans for info.