1 # parameter settings file for the infobot
2 # kevin lenzo (lenzo@cs.cmu.edu)
3 # modified by xk <xk@leguin.openprojects.net>
6 # [str] Interface: [IRC/CLI]
12 set ircName blootbot experimental bot
14 ###set ircHost vh.virtualhost.org
15 set join_channels #DEBIAN-bots
17 # nickserv/chanserv support.
18 ###set nickServ_pass PASSWORD
19 ###set chanServ_ops #chan1 #chan2
21 # default quit message
22 set quitMsg adios amigos
28 # [file] where to put logging info. comment out to disable.
29 set logfile log/$ircUser.log
31 # [str] Type of logging.
32 # DAILY -- Create a new log each day.
33 # DEFAULT -- One continuous log file.
36 # [int] Maximum log size, if logfile is defined, in bytes.
37 set maxLogSize 10000000
40 # Factoid DB Configuration
43 # [str] Ability to remember/tell factoids
46 # pgsql -- PostGreSQL (NOT SUPPORTED YET)
48 ### REQUIRED by factoids,freshmeat,karma,seen,...
51 # [str] DBM filename prefix // MYSQL/PGSQL database.
52 # eg: blootbot-factoids, blootbot-seen
53 # eg: /var/db/mysql/blootbot/factoids.*
56 # [str] Hostname of database server
59 # [str] mysql user allowed to insert,update,delete stuff from tables.
62 # [str] mysql password.
66 # factoid-related configuration
69 # [bool] Factoid support.
72 # [int] maximum length of factoid key.
75 # [int] maximum length of factoid value.
78 # [int] minimum length of unaddressed (message) question without question
79 # before it is answered involuntarily.
80 # This ignores the 'addressing' setting.
82 set minVolunteerLength 0
84 # [str] when should the bot bother learning new factoids.
85 # ADDRESSED -- only learn when addressed.
86 # HUNGRY -- learn irrelevent of addressing. this will catch
87 # _everything_, use at your own risk. I tried this ages
88 # ago and it caught quite funny responses but who knows
89 # if my modifications will prevent this or not, perhaps
90 # IsInvalid must be disabled?
93 # [str] different behaviour with URLs.
94 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
95 # OPTIONAL -- will take anything
96 # REJECT -- will not accept any urls. this makes it easy to
97 # run 2 with different nicks and styles.
98 # ^^^ what's the point of this???
99 set acceptUrl OPTIONAL
101 # [bool] profanity checking.
102 set profanityCheck false
104 # [0/1] tell so-and-so about such-and-such of a factoid.
107 # [str] other bots to ask for factoids which they may have.
108 #set friendlyBots url purl script mrapi
111 # factoid related and unrelated features, mainly Extras.
114 # [str] addressing is when you name the bot. FIXME
115 # REQUIRE -- the bot only does something if addressed.
116 # OPTIONAL -- the bot responds (does not learn) irrelevent of
118 set addressing REQUIRE
120 # [char] One-character easy recognition.
121 set addressCharacter ~
123 # [str] how the bot should send messages.
124 # PRIVATE -- reply to private messages only, rejecting public msgs.
125 # DEFAULT -- reply to public _and_ private queries.
126 set talkMethod DEFAULT
128 # [str] how long the output string should be before it is changed from
129 # public to private. Value of '1' has same behaviour as superseeded
130 # option 'preferReply PRIVATE'.
131 # "+" before bot commands overrides this option temporarily.
132 ###set minLengthBeforePrivate 192
134 # [int] maximum length of reply for Extras function before popping list to
135 # reduce number of elements.
136 set maxListReplyLength 450
138 # [int] maximum number of elements in list allowed for Extras function
139 # before popping elements to reduce total count.
140 set maxListReplyCount 15
142 # [0/1] allow people outside any channels the bot is on to use the bot
143 # for factoids and commands.
144 set disallowOutsiders 1
146 # [int] time, in seconds. (different messages)
147 set floodMessages 10:30
148 # [int] same messages.
151 # [int] Amount of time for auto-ignore (flooding) to expire.
152 set ignoreAutoExpire 5
154 # [int] Amount of time for forced-online ignore to expire. minutes.
155 set ignoreTempExpire 60
158 # Internal (simple) bot commands
161 # [0/1] irc-cli calculator.
167 # [0/1] do you want to allow DNS lookup
170 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
171 # This should work for Win32 and MacOS. About time, hey :)
174 # [int] Backlog... ideal to see what happened to the bot on console.
175 # maximum number of lines to backlog.
182 # [bool] Display a bit too much info about stuff.
188 # [0/1] Warn messages.
191 # [0/1] Debugging messages.
194 # [0/1] Work In Progress...
199 ###set dumpvarsAtExit 1
200 # log to specific file or global log file.
201 ###set dumpvarsLogFile dumpvars.log
203 # [0/1] allow 'use strict', makes bot unreliable.
210 # [str] anything which requires LWP + http proxy.
211 ###set httpProxy http://HOSTNAME:PORT/
213 # [0/1] babelfish translator. jdf++. FIXME [DOES NOT WORK]
216 # [0/1] offer free factoid cookies
219 # [0/1] Countdown to specific dates
222 # [0/1] Debian file and package search.
224 # [int] how often to update the debian table, in days.
225 set debianRefreshInterval 1
226 # [0/1] extra stuff...
229 # [0/1] Frontend to dict.org's wordnet.
234 # [int] how often to update the freshmeat table, in hours.
235 set freshmeatRefreshInterval 24
236 # [chans|all] 10items/hour, might be annoying.
237 ###set freshmeatAnnounce #debian-bots
238 # [bool] if factoid does not exist, check freshmeat for it.
239 set freshmeatForFactoid false
241 # [0/1] insult server
247 # [0/1] Frontend to kernel.org
249 ###set kernelAnnounce #debian-bots
254 # [array] Channel limit adjuster. List of channels.
255 ###set limitcheck #debian-bots
256 # [int] Interval (or more than), in minutes.
257 set limitcheckInterval 10
258 # [int] Adjust channel limit to 10 above total users in channel.
259 set limitcheckPlus 10
264 # [0/1] Frontend to the stock market.
267 # [0/1] Display random text in the channel.
270 set randomQuoteChannels #debian-bots
271 # [int] Interval (or more than), in minutes.
272 set randomQuoteInterval 60
274 # [0/1] Display random text in the channel.
275 set randomFactoid true
277 set randomFactoidChannels #debian-bots
278 # [int] Interval (or more than), in minutes.
279 set randomFactoidInterval 60
281 # [0/1] Warn users about root.
283 # passive -- be polite plus stuff, compliant to OPN, heh.
285 set rootWarnMode passive
287 # [0/1] Factoid search.
290 # [0/1] persistant "seen".
292 # [0/1] seen statistics for online users like idle time, total message
295 # [int] if someone's been away for more than xx days, delete their info.
298 # [int] interval to flush cached seen info. in minutes.
299 set seenFlushInterval 60
301 # [0/1] slashdot headlines.
303 ###set slashdotAnnounce #debian-bots
305 # [0/1] frontend to ispell.
308 # [0/1] Advanced topic management.
311 # [0/1] User Information Services.
314 # [0/1] Uptime daemon
317 # [0/1] weather.com. FIXME
320 # [0/1] Wingate checking and banning mechanism. FIXME.
322 # [int] seconds. minimum time to check.
323 set wingateInterval 60
327 set wingateKick DIE DIE DIE
329 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
333 # [0/1] Unit conversion tool.