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 # pgsql -- PostGreSQL (NOT SUPPORTED YET)
50 ### REQUIRED by factoids,freshmeat,karma,seen,...
53 # [str] DBM filename prefix // MYSQL/PGSQL database.
54 # eg: blootbot-factoids, blootbot-seen
55 # eg: /var/db/mysql/blootbot/factoids.*
58 # [str] Hostname of database server
61 # [str] SQL user allowed to insert,update,delete stuff from tables.
67 # [str] SQL Debug file.
68 ###set SQLDebug SQL_debug.log
71 # factoid-related configuration
74 # [bool] Factoid support.
77 # [int] maximum length of factoid key.
80 # [int] maximum length of factoid value.
83 # [int] minimum length of unaddressed (message) question without question
84 # before it is answered involuntarily.
85 # This ignores the 'addressing' setting.
87 set minVolunteerLength 0
89 # [str] when should the bot bother learning new factoids.
90 # ADDRESSED -- only learn when addressed.
91 # HUNGRY -- learn irrelevent of addressing. this will catch
92 # _everything_, use at your own risk. I tried this ages
93 # ago and it caught quite funny responses but who knows
94 # if my modifications will prevent this or not, perhaps
95 # IsInvalid must be disabled?
98 # [str] different behaviour with URLs.
99 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
100 # OPTIONAL -- will take anything
101 # REJECT -- will not accept any urls. this makes it easy to
102 # run 2 with different nicks and styles.
103 # ^^^ what's the point of this???
104 set acceptUrl OPTIONAL
106 # [bool] profanity checking.
107 set profanityCheck false
109 # [0/1] tell so-and-so about such-and-such of a factoid.
112 # [str] other bots to ask for factoids which they may have.
113 #set friendlyBots url purl script mrapi
116 # factoid related and unrelated features, mainly Extras.
119 # [str] addressing is when you name the bot. FIXME
120 # REQUIRE -- the bot only does something if addressed.
121 # OPTIONAL -- the bot responds (does not learn) irrelevent of
123 set addressing REQUIRE
125 # [char] One-character easy recognition.
126 set addressCharacter ~
128 # [str] how the bot should send messages.
129 # PRIVATE -- reply to private messages only, rejecting public msgs.
130 # DEFAULT -- reply to public _and_ private queries.
131 set talkMethod DEFAULT
133 # [str] how long the output string should be before it is changed from
134 # public to private. Value of '1' has same behaviour as superseeded
135 # option 'preferReply PRIVATE'.
136 # "+" before bot commands overrides this option temporarily.
137 ###set minLengthBeforePrivate 192
139 # [int] maximum length of reply for Extras function before popping list to
140 # reduce number of elements.
141 set maxListReplyLength 450
143 # [int] maximum number of elements in list allowed for Extras function
144 # before popping elements to reduce total count.
145 set maxListReplyCount 15
147 # [0/1] allow people outside any channels the bot is on to use the bot
148 # for factoids and commands.
149 set disallowOutsiders 1
151 # [int] time, in seconds. (different messages)
152 set floodMessages 10:30
153 # [int] same messages.
156 # [int] Amount of time for auto-ignore (flooding) to expire.
157 set ignoreAutoExpire 5
159 # [int] Amount of time for forced-online ignore to expire. minutes.
160 set ignoreTempExpire 60
163 # Internal (simple) bot commands
166 # [0/1] irc-cli calculator.
172 # [0/1] do you want to allow DNS lookup
175 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
176 # This should work for Win32 and MacOS. About time, hey :)
179 # [int] Backlog... ideal to see what happened to the bot on console.
180 # maximum number of lines to backlog.
187 # [bool] Display a bit too much info about stuff.
193 # [0/1] Warn messages.
196 # [0/1] Debugging messages.
199 # [0/1] Work In Progress...
204 ###set dumpvarsAtExit 1
205 # log to specific file or global log file.
206 ###set dumpvarsLogFile dumpvars.log
208 # [0/1] allow 'use strict', makes bot unreliable.
215 # [str] anything which requires LWP + http proxy.
216 ###set httpProxy http://HOSTNAME:PORT/
218 # [0/1] babelfish translator. jdf++. FIXME [DOES NOT WORK]
221 # [0/1] offer free factoid cookies
224 # [0/1] Countdown to specific dates
227 # [0/1] Debian file and package search.
229 # [int] how often to update the debian table, in days.
230 set debianRefreshInterval 1
231 # [0/1] extra stuff...
234 # [0/1] Frontend to dict.org's wordnet.
239 # [int] how often to update the freshmeat table, in hours.
240 set freshmeatRefreshInterval 24
241 # [chans|all] 10items/hour, might be annoying.
242 ###set freshmeatAnnounce #debian-bots
243 # [bool] if factoid does not exist, check freshmeat for it.
244 set freshmeatForFactoid false
246 # [0/1] insult server
252 # [0/1] Frontend to kernel.org
254 ###set kernelAnnounce #debian-bots
259 # [array] Channel limit adjuster. List of channels.
260 ###set limitcheck #debian-bots
261 # [int] Interval (or more than), in minutes.
262 set limitcheckInterval 10
263 # [int] Adjust channel limit to 10 above total users in channel.
264 set limitcheckPlus 10
269 # [0/1] Frontend to the stock market.
272 # [0/1] Display random text in the channel.
275 set randomQuoteChannels #debian-bots
276 # [int] Interval (or more than), in minutes.
277 set randomQuoteInterval 60
279 # [0/1] Display random text in the channel.
280 set randomFactoid true
282 set randomFactoidChannels #debian-bots
283 # [int] Interval (or more than), in minutes.
284 set randomFactoidInterval 60
286 # [0/1] Warn users about root.
288 # passive -- be polite plus stuff, compliant to OPN, heh.
290 set rootWarnMode passive
292 # [0/1] Factoid search.
295 # [0/1] persistant "seen".
297 # [0/1] seen statistics for online users like idle time, total message
300 # [int] if someone's been away for more than xx days, delete their info.
303 # [int] interval to flush cached seen info. in minutes.
304 set seenFlushInterval 60
305 # [bool] store all information, irrevelent of addressing.
307 # Will encourage severe leakaged (2-3x), caused by mysql-perl?
310 # [0/1] slashdot headlines.
312 ###set slashdotAnnounce #debian-bots
314 # [0/1] frontend to ispell.
317 # [0/1] Advanced topic management.
320 # [0/1] User Information Services.
323 # [0/1] Uptime daemon
326 # [0/1] Wingate checking and banning mechanism. FIXME.
328 # [int] seconds. minimum time to check.
329 set wingateInterval 60
333 set wingateKick DIE DIE DIE
335 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
339 # [0/1] Unit conversion tool.