1 # blootbot configuration file, modify it to your own taste. blootbot reads
2 # this file from files/blootbot.config so it should be moved there.
9 set ircName blootbot experimental bot
11 ###set ircHost vh.virtualhost.org
12 # if not using a virtualhost set to 0.0.0.0
13 # otherwise IRC::Connection might try localhost which will NOT work
18 # nickserv/chanserv support.
19 ###set nickServ_pass PASSWORD
20 ###set chanServ_ops #chan1 #chan2
22 # default quit message.
23 set quitMsg adios amigos
25 # path to a temporary directory which blootbot can use.
26 set tempDir /home/blootbot/Temp
29 # Factoid database configuration
32 # [str] Ability to remember/tell factoids
35 # SQLite -- SQLite (libdbd-sqlite-perl)
36 # pgsql -- postgresql (NOT SUPPORTED)
37 ### REQUIRED by factoids,freshmeat,karma,seen,...
40 # [str] SQLite filename prefix // MYSQL/PGSQL database.
41 # eg: blootbot-factoids, blootbot-seen
42 # eg: /var/db/mysql/blootbot/factoids.*
45 # [str] Hostname of database server (unset for SQLite)
48 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
51 # [str] SQL password. (unset for SQLite)
54 # [str] SQL debug file.
55 ###set SQLDebug SQL_debug.log
58 # Logfile configuration
61 # [file] where to put logging info. comment out to disable.
62 set logfile log/$ircUser.log
64 # [str] Type of logging.
65 # DAILY -- Create a new log each day.
66 # DEFAULT -- One continuous log file.
69 # [int] Maximum log size, if logfile is defined, in bytes.
70 set maxLogSize 10000000
73 # Factoid-related configuration
76 # [bool] Factoid support.
79 # [days] if not 0, number of days until factoid is deleted for good.
80 set factoidDeleteDelay 0
82 # [int] maximum length of factoid key.
85 # [int] maximum length of factoid value.
88 # [int] minimum length of unaddressed (message) question without question
89 # before it is answered involuntarily.
90 # This ignores the 'addressing' setting.
92 set minVolunteerLength 0
94 # [str] when should the bot bother learning new factoids.
95 # ADDRESSED -- only learn when addressed.
96 # HUNGRY -- learn irrelevent of addressing. this will catch
97 # _everything_, use at your own risk. I tried this ages
98 # ago and it caught quite funny responses but who knows
99 # if my modifications will prevent this or not, perhaps
100 # IsInvalid must be disabled?
103 # [str] different behaviour with URLs.
104 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
105 # OPTIONAL -- will take anything
106 # REJECT -- will not accept any urls. this makes it easy to
107 # run 2 with different nicks and styles.
108 # ^^^ what's the point of this???
109 set acceptUrl OPTIONAL
111 # [bool] profanity checking.
112 set profanityCheck false
114 # [0/1] tell so-and-so about such-and-such of a factoid.
117 # [str] other bots to ask for factoids which they may have.
118 #set friendlyBots url purl script mrapi
121 # Factoid related and unrelated features, mainly Extras.
124 # [str] addressing is when you name the bot. FIXME:
125 # REQUIRE -- the bot only does something if addressed.
126 # OPTIONAL -- the bot responds (does not learn) irrelevent of
128 set addressing REQUIRE
130 # [char] One-character easy recognition.
131 set addressCharacter ~
133 # [str] how the bot should send messages.
134 # PRIVATE -- reply to private messages only, rejecting public msgs.
135 # DEFAULT -- reply to public _and_ private queries.
136 set talkMethod DEFAULT
138 # [str] how long the output string should be before it is changed from
140 # "+" before bot commands overrides this option temporarily.
141 ###set minLengthBeforePrivate 192
143 # [int] maximum length of reply for Extras function before popping list to
144 # reduce number of elements.
145 set maxListReplyLength 450
147 # [int] maximum number of elements in list allowed for Extras function
148 # before popping elements to reduce total count.
149 set maxListReplyCount 15
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
155 # [int] Amount of time for auto-ignore (flooding) to expire.
156 set ignoreAutoExpire 5
158 # [int] Amount of time for forced-online ignore to expire. minutes.
159 set ignoreTempExpire 60
162 # Internal (simple) bot commands
165 # [0/1] irc-cli calculator.
171 # [0/1] do you want to allow DNS lookup
174 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
175 # Disabling should make the bot work on Win32 and MacOS.
178 # [int] Backlog... ideal to see what happened to the bot on console.
179 # maximum number of lines to backlog.
186 # [str] anything which requires LWP + http proxy.
187 ###set httpProxy http://HOSTNAME:PORT/
189 # [0/1] babelfish translator. jdf++.
192 # [0/1] offer free factoid cookies
195 # [0/1] Countdown to specific dates
198 # [0/1] Debian file and package search.
200 # [int] how often to update the debian table, in days.
201 set debianRefreshInterval 1
202 # [0/1] extra stuff...
205 # [0/1] Frontend to dict.org's wordnet.
210 # [int] how often to update the freshmeat table, in hours.
211 set freshmeatRefreshInterval 24
213 # [bool] if factoid does not exist, check freshmeat for it.
214 set freshmeatForFactoid false
216 # [0/1] insult server
222 # [0/1] Frontend to kernel.org
231 # [0/1] Frontend to the stock market.
234 # [0/1] Display random text in the channel.
237 # [0/1] Display random text in the channel.
238 set randomFactoid true
240 # [0/1] Warn users about root.
242 # passive -- be polite plus stuff, compliant to OPN, heh.
244 set rootWarnMode passive
246 # [0/1] Factoid search.
249 # [0/1] keeps stats on individual commands
252 # [0/1] slashdot headlines.
255 # [0/1] frontend to ispell.
258 # [0/1] Advanced topic management.
261 # [0/1] User Information Services.
264 # [0/1] Uptime daemon
267 # [0/1] Wingate checking and banning mechanism. FIXME:
269 # [int] seconds. minimum time to check.
270 set wingateInterval 60
274 set wingateKick Please don't use wingate
276 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
280 # [0/1] Unit conversion tool.
284 # Miscellaneous configuration options
287 # [int] Display a bit too much info about stuff.
293 # [0/1] Warn messages.
296 # [0/1] Debugging messages.
299 # [0/1] Work In Progress...
307 ###set dumpvarsAtExit 1
308 # log to specific file or global log file.
309 ###set dumpvarsLogFile dumpvars.log
311 # [str] Interface: [IRC/CLI]
312 # IRC -- Internet Relay Chat
313 # CLI -- Command Line Interface
317 # Now modify blootbot.chan for per-channel specific configuration see
318 # sample.chans for info.