]> git.donarmstrong.com Git - infobot.git/blob - files/sample.config
Changed $infobot_ to $bot_
[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] mysql user allowed to insert,update,delete stuff from tables.
62 set SQLUser             blootbot
63
64 # [str] mysql password.
65 set SQLPass             PASSWORD
66
67 #####
68 # factoid-related configuration
69 #####
70
71 # [bool] Factoid support.
72 set factoids            true
73
74 # [int] maximum length of factoid key.
75 set maxKeySize          32
76
77 # [int] maximum length of factoid value.
78 set maxDataSize         450
79
80 # [int] minimum length of unaddressed (message) question without question
81 #       before it is answered involuntarily.
82 #       This ignores the 'addressing' setting.
83 #       0 to disable.
84 set minVolunteerLength  0
85
86 # [str] when should the bot bother learning new factoids.
87 #   ADDRESSED   -- only learn when addressed.
88 #   HUNGRY      -- learn irrelevent of addressing. this will catch
89 #                  _everything_, use at your own risk. I tried this ages
90 #                  ago and it caught quite funny responses but who knows
91 #                  if my modifications will prevent this or not, perhaps
92 #                  IsInvalid must be disabled?
93 set learn               ADDRESSED
94
95 # [str] different behaviour with URLs.
96 #   REQUIRE     -- means it will need to be a url type (e.g. file:, http:)
97 #   OPTIONAL    -- will take anything
98 #   REJECT      -- will not accept any urls.  this makes it easy to
99 #                  run 2 with different nicks and styles.
100 #                  ^^^ what's the point of this???
101 set acceptUrl           OPTIONAL
102
103 # [bool] profanity checking.
104 set profanityCheck      false
105
106 # [0/1] tell so-and-so about such-and-such of a factoid.
107 set allowTelling        1
108
109 # [str] other bots to ask for factoids which they may have.
110 #set friendlyBots       url purl script mrapi
111
112 #####
113 # factoid related and unrelated features, mainly Extras.
114 #####
115
116 # [str] addressing is when you name the bot. FIXME
117 #   REQUIRE     -- the bot only does something if addressed.
118 #   OPTIONAL    -- the bot responds (does not learn) irrelevent of
119 #                  addressing.
120 set addressing          REQUIRE
121
122 # [char] One-character easy recognition.
123 set addressCharacter    ~
124
125 # [str] how the bot should send messages.
126 #   PRIVATE     -- reply to private messages only, rejecting public msgs.
127 #   DEFAULT     -- reply to public _and_ private queries.
128 set talkMethod          DEFAULT
129
130 # [str] how long the output string should be before it is changed from
131 #       public to private. Value of '1' has same behaviour as superseeded
132 #       option 'preferReply PRIVATE'.
133 #       "+" before bot commands overrides this option temporarily.
134 ###set minLengthBeforePrivate 192
135
136 # [int] maximum length of reply for Extras function before popping list to
137 #       reduce number of elements.
138 set maxListReplyLength  450
139
140 # [int] maximum number of elements in list allowed for Extras function
141 #       before popping elements to reduce total count.
142 set maxListReplyCount   15
143
144 # [0/1] allow people outside any channels the bot is on to use the bot
145 #       for factoids and commands.
146 set disallowOutsiders   1
147
148 # [int] time, in seconds. (different messages)
149 set floodMessages       10:30
150 # [int] same messages.
151 set floodRepeat         2:10
152
153 # [int] Amount of time for auto-ignore (flooding) to expire.
154 set ignoreAutoExpire    5
155
156 # [int] Amount of time for forced-online ignore to expire. minutes.
157 set ignoreTempExpire    60
158
159 #####
160 # Internal (simple) bot commands
161 #####
162
163 # [0/1] irc-cli calculator.
164 set perlMath            1
165
166 # [0/1] ord/chr etc
167 set allowConv           1
168
169 # [0/1] do you want to allow DNS lookup
170 set allowDNS            1
171
172 # [0/1] Forking... enable for non-nix OS or to reduce mem usage.
173 #       This should work for Win32 and MacOS. About time, hey :)
174 set forking             1
175
176 # [int] Backlog... ideal to see what happened to the bot on console.
177 #       maximum number of lines to backlog.
178 set backlog             24
179
180 #####
181 # Miscellaneous...
182 #####
183
184 # [bool] Display a bit too much info about stuff.
185 #   0   -- disable.
186 #   1   -- minimal.
187 #   2   -- extra.
188 set VERBOSITY           1
189
190 # [0/1] Warn messages.
191 set WARN                1
192
193 # [0/1] Debugging messages.
194 set DEBUG               0
195
196 # [0/1] Work In Progress...
197 set WIP                 0
198
199 # debugging...
200 ###set dumpvars         1
201 ###set dumpvarsAtExit   1
202 # log to specific file or global log file.
203 ###set dumpvarsLogFile  dumpvars.log
204
205 # [0/1] allow 'use strict', makes bot unreliable.
206 set useStrict           0
207
208 #####
209 # Extras
210 #####
211
212 # [str] anything which requires LWP + http proxy.
213 ###set httpProxy                http://HOSTNAME:PORT/
214
215 # [0/1] babelfish translator.  jdf++. FIXME [DOES NOT WORK]
216 set babelfish           false
217
218 # [0/1] offer free factoid cookies
219 set cookie              true
220
221 # [0/1] Countdown to specific dates
222 set countdown           true
223
224 # [0/1] Debian file and package search.
225 set debian              false
226 # [int] how often to update the debian table, in days.
227 set debianRefreshInterval 1
228 # [0/1] extra stuff...
229 set debianExtra         true
230
231 # [0/1] Frontend to dict.org's wordnet.
232 set dict                false
233
234 # [0/1] Freshmeat
235 set freshmeat           false
236 # [int] how often to update the freshmeat table, in hours.
237 set freshmeatRefreshInterval 24
238 # [chans|all] 10items/hour, might be annoying.
239 ###set freshmeatAnnounce        #debian-bots
240 # [bool] if factoid does not exist, check freshmeat for it.
241 set freshmeatForFactoid         false
242
243 # [0/1] insult server
244 set insult              false
245
246 # [0/1] karma
247 set karma               true
248
249 # [0/1] Frontend to kernel.org
250 set kernel              false
251 ###set kernelAnnounce   #debian-bots
252
253 # [0/1] LART.
254 set lart                true
255
256 # [array] Channel limit adjuster. List of channels.
257 ###set limitcheck               #debian-bots
258 # [int] Interval (or more than), in minutes.
259 set limitcheckInterval  10
260 # [int] Adjust channel limit to 10 above total users in channel.
261 set limitcheckPlus      10
262
263 # [0/1] nickometer
264 set nickometer          true
265
266 # [0/1] Frontend to the stock market.
267 set quote               false
268
269 # [0/1] Display random text in the channel.
270 set randomQuote         true
271 # [str] Channels.
272 set randomQuoteChannels #debian-bots
273 # [int] Interval (or more than), in minutes.
274 set randomQuoteInterval 60
275
276 # [0/1] Display random text in the channel.
277 set randomFactoid       true
278 # [str] Channels.
279 set randomFactoidChannels       #debian-bots
280 # [int] Interval (or more than), in minutes.
281 set randomFactoidInterval       60
282
283 # [0/1] Warn users about root.
284 set rootWarn            false
285 #   passive     -- be polite plus stuff, compliant to OPN, heh.
286 #   aggressive  -- ...
287 set rootWarnMode        passive
288
289 # [0/1] Factoid search.
290 set search              false
291
292 # [0/1] persistant "seen".
293 set seen                true
294 # [0/1] seen statistics for online users like idle time, total message
295 #       count.
296 set seenStats           true
297 # [int] if someone's been away for more than xx days, delete their info.
298 #       info.
299 set seenMaxDays         30
300 # [int] interval to flush cached seen info. in minutes.
301 set seenFlushInterval   60
302
303 # [0/1] slashdot headlines.
304 set slashdot            false
305 ###set slashdotAnnounce #debian-bots
306
307 # [0/1] frontend to ispell.
308 set spell               false
309
310 # [0/1] Advanced topic management.
311 set topic               true
312
313 # [0/1] User Information Services.
314 set userinfo            true
315
316 # [0/1] Uptime daemon
317 set uptime              true
318
319 # [0/1] weather.com. FIXME
320 set weather             false
321
322 # [0/1] Wingate checking and banning mechanism. FIXME.
323 ###set wingate          false
324 # [int] seconds. minimum time to check.
325 set wingateInterval     60
326 # [str] Wingate.
327 set wingateBan          true
328 # [str] Wingate.
329 set wingateKick         DIE DIE DIE
330
331 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
332 #       modifications.
333 set wwwsearch           false
334
335 # [0/1] Unit conversion tool.
336 set units               true