]> git.donarmstrong.com Git - infobot.git/blob - files/sample/sample.config.broken
d43fa1cbcc1e96bcbcedbea7830f91916a2f5a0f
[infobot.git] / files / sample / sample.config.broken
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 #       sqlite  -- SQLite (libdbd-sqlite-perl)
49 #       pgsql   -- PostGreSQL (NOT SUPPORTED YET)
50 #       dbm     -- Berkeley DBM
51 ### REQUIRED by factoids,freshmeat,karma,seen,...
52 set DBType              mysql
53
54 # [str] DBM filename prefix // MYSQL/PGSQL database.
55 #       eg: blootbot-factoids, blootbot-seen
56 #       eg: /var/db/mysql/blootbot/factoids.*
57 set DBName              blootbot
58
59 # [str] Hostname of database server
60 set SQLHost             localhost
61
62 # [str] SQL user allowed to insert,update,delete stuff from tables.
63 set SQLUser             blootbot
64
65 # [str] SQL password.
66 set SQLPass             PASSWORD
67
68 # [str] SQL Debug file.
69 ###set SQLDebug         SQL_debug.log
70
71 #####
72 # factoid-related configuration
73 #####
74
75 # [bool] Factoid support.
76 set factoids            true
77
78 # [days] if not 0, number of days until factoid is deleted for good.
79 set factoidDeleteDelay  0
80
81 # [int] maximum length of factoid key.
82 set maxKeySize          32
83
84 # [int] maximum length of factoid value.
85 set maxDataSize         450
86
87 # [int] minimum length of unaddressed (message) question without question
88 #       before it is answered involuntarily.
89 #       This ignores the 'addressing' setting.
90 #       0 to disable.
91 set minVolunteerLength  0
92
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?
100 set learn               ADDRESSED
101
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
109
110 # [bool] profanity checking.
111 set profanityCheck      false
112
113 # [0/1] tell so-and-so about such-and-such of a factoid.
114 set allowTelling        1
115
116 # [str] other bots to ask for factoids which they may have.
117 #set friendlyBots       url purl script mrapi
118
119 #####
120 # factoid related and unrelated features, mainly Extras.
121 #####
122
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
126 #                  addressing.
127 set addressing          REQUIRE
128
129 # [char] One-character easy recognition.
130 set addressCharacter    ~
131
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
136
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
142
143 # [int] maximum length of reply for Extras function before popping list to
144 #       reduce number of elements.
145 set maxListReplyLength  450
146
147 # [int] maximum number of elements in list allowed for Extras function
148 #       before popping elements to reduce total count.
149 set maxListReplyCount   15
150
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
154
155 # [int] time, in seconds. (different messages)
156 set floodMessages       10:30
157 # [int] same messages.
158 set floodRepeat         2:10
159
160 # [int] Amount of time for auto-ignore (flooding) to expire.
161 set ignoreAutoExpire    5
162
163 # [int] Amount of time for forced-online ignore to expire. minutes.
164 set ignoreTempExpire    60
165
166 #####
167 # Internal (simple) bot commands
168 #####
169
170 # [0/1] irc-cli calculator.
171 set perlMath            1
172
173 # [0/1] ord/chr etc
174 set allowConv           1
175
176 # [0/1] do you want to allow DNS lookup
177 set allowDNS            1
178
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 :)
181 set forking             1
182
183 # [int] Backlog... ideal to see what happened to the bot on console.
184 #       maximum number of lines to backlog.
185 set backlog             24
186
187 #####
188 # Miscellaneous...
189 #####
190
191 # [bool] Display a bit too much info about stuff.
192 #   0   -- disable.
193 #   1   -- minimal.
194 #   2   -- extra.
195 set VERBOSITY           1
196
197 # [0/1] Warn messages.
198 set WARN                1
199
200 # [0/1] Debugging messages.
201 set DEBUG               0
202
203 # [0/1] Work In Progress...
204 set WIP                 0
205
206 # debugging...
207 ###set dumpvars         1
208 ###set dumpvarsAtExit   1
209 # log to specific file or global log file.
210 ###set dumpvarsLogFile  dumpvars.log
211
212 # [0/1] allow 'use strict', makes bot unreliable.
213 set useStrict           0
214
215 #####
216 # Extras
217 #####
218
219 # [str] anything which requires LWP + http proxy.
220 ###set httpProxy                http://HOSTNAME:PORT/
221
222 # [0/1] babelfish translator.  jdf++. FIXME [DOES NOT WORK]
223 set babelfish           false
224
225 # [0/1] offer free factoid cookies
226 set cookie              true
227
228 # [0/1] Countdown to specific dates
229 set countdown           true
230
231 # [0/1] Debian file and package search.
232 set debian              false
233 # [int] how often to update the debian table, in days.
234 set debianRefreshInterval 1
235 # [0/1] extra stuff...
236 set debianExtra         true
237
238 # [0/1] Frontend to dict.org's wordnet.
239 set dict                false
240
241 # [0/1] Freshmeat
242 set freshmeat           false
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
249
250 # [0/1] insult server
251 set insult              false
252
253 # [0/1] karma
254 set karma               true
255
256 # [0/1] Frontend to kernel.org
257 set kernel              false
258 ###set kernelAnnounce   #debian-bots
259
260 # [0/1] LART.
261 set lart                true
262
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
269
270 # [0/1] nickometer
271 set nickometer          true
272
273 # [0/1] Frontend to the stock market.
274 set quote               false
275
276 # [0/1] Display random text in the channel.
277 set randomQuote         true
278 # [str] Channels.
279 set randomQuoteChannels #debian-bots
280 # [int] Interval (or more than), in minutes.
281 set randomQuoteInterval 60
282
283 # [0/1] Display random text in the channel.
284 set randomFactoid       true
285 # [str] Channels.
286 set randomFactoidChannels       #debian-bots
287 # [int] Interval (or more than), in minutes.
288 set randomFactoidInterval       60
289
290 # [0/1] Warn users about root.
291 set rootWarn            false
292 #   passive     -- be polite plus stuff, compliant to OPN, heh.
293 #   aggressive  -- ...
294 set rootWarnMode        passive
295
296 # [0/1] Factoid search.
297 set search              false
298
299 # [0/1] persistant "seen".
300 set seen                true
301 # [0/1] seen statistics for online users like idle time, total message
302 #       count.
303 set seenStats           true
304 # [int] if someone's been away for more than xx days, delete their info.
305 #       info.
306 set seenMaxDays         30
307 # [int] interval to flush cached seen info. in minutes.
308 set seenFlushInterval   60
309 # [bool] store all information, irrevelent of addressing.
310 #       may chew more CPU.
311 #       Will encourage severe leakaged (2-3x), caused by mysql-perl?
312 set seenStoreAll        1
313
314 # [0/1] slashdot headlines.
315 set slashdot            false
316 ###set slashdotAnnounce #debian-bots
317
318 # [0/1] frontend to ispell.
319 set spell               false
320
321 # [0/1] Advanced topic management.
322 set topic               true
323
324 # [0/1] User Information Services.
325 set userinfo            true
326
327 # [0/1] Uptime daemon
328 set uptime              true
329
330 # [0/1] Wingate checking and banning mechanism. FIXME.
331 ###set wingate          false
332 # [int] seconds. minimum time to check.
333 set wingateInterval     60
334 # [str] Wingate.
335 set wingateBan          true
336 # [str] Wingate.
337 set wingateKick         DIE DIE DIE
338
339 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
340 #       modifications.
341 set wwwsearch           false
342
343 # [0/1] Unit conversion tool.
344 set units               true