]> git.donarmstrong.com Git - infobot.git/blob - files/sample.config
- Remaining files that were changed due to removal of $noreply or
[infobot.git] / files / sample.config
1 ###
2 # parameter settings file for blootbot
3 # by the dms
4 ###
5
6 # [str] Interface: [IRC/CLI]
7 #   IRC         -- Internet Relay Chat
8 #   CLI         -- Command Line Interface
9 set Interface           IRC
10
11 # IRC.
12 set ircNick             blootbot
13 set ircUser             blootbot
14 set ircName             blootbot experimental bot
15 set ircUMode            +iw
16 ###set ircHost          vh.virtualhost.org
17 set join_channels       #DEBIAN-bots
18
19 # nickserv/chanserv support.
20 ###set nickServ_pass    PASSWORD
21 ###set chanServ_ops     #chan1 #chan2
22
23 # default quit message
24 set quitMsg             adios amigos
25
26 #####
27 # logfile
28 #####
29
30 # [file] where to put logging info. comment out to disable.
31 set logfile             log/$ircUser.log
32
33 # [str] Type of logging.
34 #   DAILY       -- Create a new log each day.
35 #   DEFAULT     -- One continuous log file.
36 set logType             DAILY
37
38 # [int] Maximum log size, if logfile is defined, in bytes.
39 set maxLogSize          10000000
40
41 #####
42 # Factoid DB Configuration
43 #####
44
45 # [str] Ability to remember/tell factoids
46 #       none    -- disable.
47 #       mysql   -- MySQL
48 #       pgsql   -- PostGreSQL (NOT SUPPORTED YET)
49 #       dbm     -- Berkeley DBM
50 ### REQUIRED by factoids,freshmeat,karma,seen,...
51 set DBType              mysql
52
53 # [str] DBM filename prefix // MYSQL/PGSQL database.
54 #       eg: blootbot-factoids, blootbot-seen
55 #       eg: /var/db/mysql/blootbot/factoids.*
56 set DBName              blootbot
57
58 # [str] Hostname of database server
59 set SQLHost             localhost
60
61 # [str] SQL user allowed to insert,update,delete stuff from tables.
62 set SQLUser             blootbot
63
64 # [str] SQL password.
65 set SQLPass             PASSWORD
66
67 # [str] SQL Debug file.
68 ###set SQLDebug         SQL_debug.log
69
70 #####
71 # factoid-related configuration
72 #####
73
74 # [bool] Factoid support.
75 set factoids            true
76
77 # [days] if not 0, number of days until factoid is deleted for good.
78 set factoidDeleteDelay  0
79
80 # [int] maximum length of factoid key.
81 set maxKeySize          32
82
83 # [int] maximum length of factoid value.
84 set maxDataSize         450
85
86 # [int] minimum length of unaddressed (message) question without question
87 #       before it is answered involuntarily.
88 #       This ignores the 'addressing' setting.
89 #       0 to disable.
90 set minVolunteerLength  0
91
92 # [str] when should the bot bother learning new factoids.
93 #   ADDRESSED   -- only learn when addressed.
94 #   HUNGRY      -- learn irrelevent of addressing. this will catch
95 #                  _everything_, use at your own risk. I tried this ages
96 #                  ago and it caught quite funny responses but who knows
97 #                  if my modifications will prevent this or not, perhaps
98 #                  IsInvalid must be disabled?
99 set learn               ADDRESSED
100
101 # [str] different behaviour with URLs.
102 #   REQUIRE     -- means it will need to be a url type (e.g. file:, http:)
103 #   OPTIONAL    -- will take anything
104 #   REJECT      -- will not accept any urls.  this makes it easy to
105 #                  run 2 with different nicks and styles.
106 #                  ^^^ what's the point of this???
107 set acceptUrl           OPTIONAL
108
109 # [bool] profanity checking.
110 set profanityCheck      false
111
112 # [0/1] tell so-and-so about such-and-such of a factoid.
113 set allowTelling        1
114
115 # [str] other bots to ask for factoids which they may have.
116 #set friendlyBots       url purl script mrapi
117
118 #####
119 # factoid related and unrelated features, mainly Extras.
120 #####
121
122 # [str] addressing is when you name the bot. FIXME
123 #   REQUIRE     -- the bot only does something if addressed.
124 #   OPTIONAL    -- the bot responds (does not learn) irrelevent of
125 #                  addressing.
126 set addressing          REQUIRE
127
128 # [char] One-character easy recognition.
129 set addressCharacter    ~
130
131 # [str] how the bot should send messages.
132 #   PRIVATE     -- reply to private messages only, rejecting public msgs.
133 #   DEFAULT     -- reply to public _and_ private queries.
134 set talkMethod          DEFAULT
135
136 # [str] how long the output string should be before it is changed from
137 #       public to private. Value of '1' has same behaviour as superseeded
138 #       option 'preferReply PRIVATE'.
139 #       "+" before bot commands overrides this option temporarily.
140 ###set minLengthBeforePrivate 192
141
142 # [int] maximum length of reply for Extras function before popping list to
143 #       reduce number of elements.
144 set maxListReplyLength  450
145
146 # [int] maximum number of elements in list allowed for Extras function
147 #       before popping elements to reduce total count.
148 set maxListReplyCount   15
149
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
153
154 # [int] time, in seconds. (different messages)
155 set floodMessages       10:30
156 # [int] same messages.
157 set floodRepeat         2:10
158
159 # [int] Amount of time for auto-ignore (flooding) to expire.
160 set ignoreAutoExpire    5
161
162 # [int] Amount of time for forced-online ignore to expire. minutes.
163 set ignoreTempExpire    60
164
165 #####
166 # Internal (simple) bot commands
167 #####
168
169 # [0/1] irc-cli calculator.
170 set perlMath            1
171
172 # [0/1] ord/chr etc
173 set allowConv           1
174
175 # [0/1] do you want to allow DNS lookup
176 set allowDNS            1
177
178 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
179 #       This should work for Win32 and MacOS. About time, hey :)
180 set forking             1
181
182 # [int] Backlog... ideal to see what happened to the bot on console.
183 #       maximum number of lines to backlog.
184 set backlog             24
185
186 #####
187 # Miscellaneous...
188 #####
189
190 # [bool] Display a bit too much info about stuff.
191 #   0   -- disable.
192 #   1   -- minimal.
193 #   2   -- extra.
194 set VERBOSITY           1
195
196 # [0/1] Warn messages.
197 set WARN                1
198
199 # [0/1] Debugging messages.
200 set DEBUG               0
201
202 # [0/1] Work In Progress...
203 set WIP                 0
204
205 # debugging...
206 ###set dumpvars         1
207 ###set dumpvarsAtExit   1
208 # log to specific file or global log file.
209 ###set dumpvarsLogFile  dumpvars.log
210
211 # [0/1] allow 'use strict', makes bot unreliable.
212 set useStrict           0
213
214 #####
215 # Extras
216 #####
217
218 # [str] anything which requires LWP + http proxy.
219 ###set httpProxy                http://HOSTNAME:PORT/
220
221 # [0/1] babelfish translator.  jdf++. FIXME [DOES NOT WORK]
222 set babelfish           false
223
224 # [0/1] offer free factoid cookies
225 set cookie              true
226
227 # [0/1] Countdown to specific dates
228 set countdown           true
229
230 # [0/1] Debian file and package search.
231 set debian              false
232 # [int] how often to update the debian table, in days.
233 set debianRefreshInterval 1
234 # [0/1] extra stuff...
235 set debianExtra         true
236
237 # [0/1] Frontend to dict.org's wordnet.
238 set dict                false
239
240 # [0/1] Freshmeat
241 set freshmeat           false
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
248
249 # [0/1] insult server
250 set insult              false
251
252 # [0/1] karma
253 set karma               true
254
255 # [0/1] Frontend to kernel.org
256 set kernel              false
257 ###set kernelAnnounce   #debian-bots
258
259 # [0/1] LART.
260 set lart                true
261
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
268
269 # [0/1] nickometer
270 set nickometer          true
271
272 # [0/1] Frontend to the stock market.
273 set quote               false
274
275 # [0/1] Display random text in the channel.
276 set randomQuote         true
277 # [str] Channels.
278 set randomQuoteChannels #debian-bots
279 # [int] Interval (or more than), in minutes.
280 set randomQuoteInterval 60
281
282 # [0/1] Display random text in the channel.
283 set randomFactoid       true
284 # [str] Channels.
285 set randomFactoidChannels       #debian-bots
286 # [int] Interval (or more than), in minutes.
287 set randomFactoidInterval       60
288
289 # [0/1] Warn users about root.
290 set rootWarn            false
291 #   passive     -- be polite plus stuff, compliant to OPN, heh.
292 #   aggressive  -- ...
293 set rootWarnMode        passive
294
295 # [0/1] Factoid search.
296 set search              false
297
298 # [0/1] persistant "seen".
299 set seen                true
300 # [0/1] seen statistics for online users like idle time, total message
301 #       count.
302 set seenStats           true
303 # [int] if someone's been away for more than xx days, delete their info.
304 #       info.
305 set seenMaxDays         30
306 # [int] interval to flush cached seen info. in minutes.
307 set seenFlushInterval   60
308 # [bool] store all information, irrevelent of addressing.
309 #       may chew more CPU.
310 #       Will encourage severe leakaged (2-3x), caused by mysql-perl?
311 set seenStoreAll        1
312
313 # [0/1] slashdot headlines.
314 set slashdot            false
315 ###set slashdotAnnounce #debian-bots
316
317 # [0/1] frontend to ispell.
318 set spell               false
319
320 # [0/1] Advanced topic management.
321 set topic               true
322
323 # [0/1] User Information Services.
324 set userinfo            true
325
326 # [0/1] Uptime daemon
327 set uptime              true
328
329 # [0/1] Wingate checking and banning mechanism. FIXME.
330 ###set wingate          false
331 # [int] seconds. minimum time to check.
332 set wingateInterval     60
333 # [str] Wingate.
334 set wingateBan          true
335 # [str] Wingate.
336 set wingateKick         DIE DIE DIE
337
338 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
339 #       modifications.
340 set wwwsearch           false
341
342 # [0/1] Unit conversion tool.
343 set units               true