2 # parameter settings file for blootbot
6 # [str] Interface: [IRC/CLI]
7 # IRC -- Internet Relay Chat
8 # CLI -- Command Line Interface
14 set ircName blootbot experimental bot
16 ###set ircHost vh.virtualhost.org
17 set join_channels #DEBIAN-bots
19 # nickserv/chanserv support.
20 ###set nickServ_pass PASSWORD
21 ###set chanServ_ops #chan1 #chan2
23 # default quit message
24 set quitMsg adios amigos
30 # [file] where to put logging info. comment out to disable.
31 set logfile log/$ircUser.log
33 # [str] Type of logging.
34 # DAILY -- Create a new log each day.
35 # DEFAULT -- One continuous log file.
38 # [int] Maximum log size, if logfile is defined, in bytes.
39 set maxLogSize 10000000
42 # Factoid DB Configuration
45 # [str] Ability to remember/tell factoids
48 # sqlite -- SQLite (libdbd-sqlite-perl)
49 # pgsql -- PostGreSQL (NOT SUPPORTED YET)
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
138 # public to private. Value of '1' has same behaviour as superseeded
139 # option 'preferReply PRIVATE'.
140 # "+" before bot commands overrides this option temporarily.
141 ###set minLengthBeforePrivate 192
143 # [int] maximum length of reply for Extras function before popping list to
144 # reduce number of elements.
145 set maxListReplyLength 450
147 # [int] maximum number of elements in list allowed for Extras function
148 # before popping elements to reduce total count.
149 set maxListReplyCount 15
151 # [0/1] allow people outside any channels the bot is on to use the bot
152 # for factoids and commands.
153 set disallowOutsiders 1
155 # [int] time, in seconds. (different messages)
156 set floodMessages 10:30
157 # [int] same messages.
160 # [int] Amount of time for auto-ignore (flooding) to expire.
161 set ignoreAutoExpire 5
163 # [int] Amount of time for forced-online ignore to expire. minutes.
164 set ignoreTempExpire 60
167 # Internal (simple) bot commands
170 # [0/1] irc-cli calculator.
176 # [0/1] do you want to allow DNS lookup
179 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
180 # This should work for Win32 and MacOS. About time, hey :)
183 # [int] Backlog... ideal to see what happened to the bot on console.
184 # maximum number of lines to backlog.
191 # [bool] Display a bit too much info about stuff.
197 # [0/1] Warn messages.
200 # [0/1] Debugging messages.
203 # [0/1] Work In Progress...
208 ###set dumpvarsAtExit 1
209 # log to specific file or global log file.
210 ###set dumpvarsLogFile dumpvars.log
212 # [0/1] allow 'use strict', makes bot unreliable.
219 # [str] anything which requires LWP + http proxy.
220 ###set httpProxy http://HOSTNAME:PORT/
222 # [0/1] babelfish translator. jdf++. FIXME [DOES NOT WORK]
225 # [0/1] offer free factoid cookies
228 # [0/1] Countdown to specific dates
231 # [0/1] Debian file and package search.
233 # [int] how often to update the debian table, in days.
234 set debianRefreshInterval 1
235 # [0/1] extra stuff...
238 # [0/1] Frontend to dict.org's wordnet.
243 # [int] how often to update the freshmeat table, in hours.
244 set freshmeatRefreshInterval 24
245 # [chans|all] 10items/hour, might be annoying.
246 ###set freshmeatAnnounce #debian-bots
247 # [bool] if factoid does not exist, check freshmeat for it.
248 set freshmeatForFactoid false
250 # [0/1] insult server
256 # [0/1] Frontend to kernel.org
258 ###set kernelAnnounce #debian-bots
263 # [array] Channel limit adjuster. List of channels.
264 ###set limitcheck #debian-bots
265 # [int] Interval (or more than), in minutes.
266 set limitcheckInterval 10
267 # [int] Adjust channel limit to 10 above total users in channel.
268 set limitcheckPlus 10
273 # [0/1] Frontend to the stock market.
276 # [0/1] Display random text in the channel.
279 set randomQuoteChannels #debian-bots
280 # [int] Interval (or more than), in minutes.
281 set randomQuoteInterval 60
283 # [0/1] Display random text in the channel.
284 set randomFactoid true
286 set randomFactoidChannels #debian-bots
287 # [int] Interval (or more than), in minutes.
288 set randomFactoidInterval 60
290 # [0/1] Warn users about root.
292 # passive -- be polite plus stuff, compliant to OPN, heh.
294 set rootWarnMode passive
296 # [0/1] Factoid search.
299 # [0/1] persistant "seen".
301 # [0/1] seen statistics for online users like idle time, total message
304 # [int] if someone's been away for more than xx days, delete their info.
307 # [int] interval to flush cached seen info. in minutes.
308 set seenFlushInterval 60
309 # [bool] store all information, irrevelent of addressing.
311 # Will encourage severe leakaged (2-3x), caused by mysql-perl?
314 # [0/1] slashdot headlines.
316 ###set slashdotAnnounce #debian-bots
318 # [0/1] frontend to ispell.
321 # [0/1] Advanced topic management.
324 # [0/1] User Information Services.
327 # [0/1] Uptime daemon
330 # [0/1] Wingate checking and banning mechanism. FIXME.
332 # [int] seconds. minimum time to check.
333 set wingateInterval 60
337 set wingateKick DIE DIE DIE
339 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
343 # [0/1] Unit conversion tool.