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
10 #set ircPasswd SomePassword
12 ###set ircHost vh.virtualhost.org
13 # if not using a virtualhost set to 0.0.0.0
14 # otherwise IRC::Connection might try localhost which will NOT work
19 # nickserv/chanserv support.
20 ###set nickServ_pass PASSWORD
21 ###set chanServ_ops #chan1 #chan2
23 # default quit message.
24 set quitMsg adios amigos
26 # path to a temporary directory which blootbot can use.
27 set tempDir /home/blootbot/Temp
30 # Factoid database configuration
33 # [str] Ability to remember/tell factoids
36 # SQLite -- SQLite (libdbd-sqlite-perl)
37 # pgsql -- postgresql (NOT SUPPORTED)
38 ### REQUIRED by factoids,freshmeat,karma,seen,...
41 # [str] SQLite filename prefix // MYSQL/PGSQL database.
42 # eg: blootbot-factoids, blootbot-seen
43 # eg: /var/db/mysql/blootbot/factoids.*
46 # [str] Hostname of database server (unset for SQLite)
49 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
52 # [str] SQL password. (unset for SQLite)
55 # [str] SQL debug file.
56 ###set SQLDebug SQL_debug.log
59 # Logfile configuration
62 # [file] where to put logging info. comment out to disable.
63 set logfile log/$ircUser.log
65 # [str] Type of logging.
66 # DAILY -- Create a new log each day.
67 # DEFAULT -- One continuous log file.
70 # [int] Maximum log size, if logfile is defined, in bytes.
71 set maxLogSize 10000000
74 # Factoid-related configuration
77 # [bool] Factoid support.
80 # [days] if not 0, number of days until factoid is deleted for good.
81 set factoidDeleteDelay 0
83 # [int] maximum length of factoid key.
86 # [int] maximum length of factoid value.
89 # [int] minimum length of unaddressed (message) question without question
90 # before it is answered involuntarily.
91 # This ignores the 'addressing' setting.
93 set minVolunteerLength 0
95 # [str] when should the bot bother learning new factoids.
96 # ADDRESSED -- only learn when addressed.
97 # HUNGRY -- learn irrelevent of addressing. this will catch
98 # _everything_, use at your own risk. I tried this ages
99 # ago and it caught quite funny responses but who knows
100 # if my modifications will prevent this or not, perhaps
101 # IsInvalid must be disabled?
104 # [str] different behaviour with URLs.
105 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
106 # OPTIONAL -- will take anything
107 # REJECT -- will not accept any urls. this makes it easy to
108 # run 2 with different nicks and styles.
109 # ^^^ what's the point of this???
110 set acceptUrl OPTIONAL
112 # [bool] profanity checking.
113 set profanityCheck false
115 # [0/1] tell so-and-so about such-and-such of a factoid.
118 # [str] other bots to ask for factoids which they may have.
119 #set friendlyBots url purl script mrapi
122 # Factoid related and unrelated features, mainly Extras.
125 # [str] addressing is when you name the bot. FIXME:
126 # REQUIRE -- the bot only does something if addressed.
127 # OPTIONAL -- the bot responds (does not learn) irrelevent of
129 set addressing REQUIRE
131 # [char] One-character easy recognition.
132 set addressCharacter ~
134 # [str] how the bot should send messages.
135 # PRIVATE -- reply to private messages only, rejecting public msgs.
136 # DEFAULT -- reply to public _and_ private queries.
137 set talkMethod DEFAULT
139 # [str] how long the output string should be before it is changed from
141 # "+" before bot commands overrides this option temporarily.
142 ###set minLengthBeforePrivate 192
144 # [int] maximum length of reply for Extras function before popping list to
145 # reduce number of elements.
146 set maxListReplyLength 450
148 # [int] maximum number of elements in list allowed for Extras function
149 # before popping elements to reduce total count.
150 set maxListReplyCount 15
152 # [0/1] allow people outside any channels the bot is on to use the bot
153 # for factoids and commands.
154 set disallowOutsiders 1
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... disable for non-nix OS or to reduce mem usage.
176 # Disabling should make the bot work on Win32 and MacOS.
179 # [int] Backlog... ideal to see what happened to the bot on console.
180 # maximum number of lines to backlog.
187 # [str] anything which requires LWP + http proxy.
188 ###set httpProxy http://HOSTNAME:PORT/
190 # [0/1] babelfish translator. jdf++.
193 # [0/1] offer free factoid cookies
196 # [0/1] Countdown to specific dates
199 # [0/1] Debian file and package search.
201 # [int] how often to update the debian table, in days.
202 set debianRefreshInterval 1
203 # [0/1] extra stuff...
206 # [0/1] Frontend to dict.org's wordnet.
211 # [int] how often to update the freshmeat table, in hours.
212 set freshmeatRefreshInterval 24
214 # [bool] if factoid does not exist, check freshmeat for it.
215 set freshmeatForFactoid false
217 # [0/1] insult server
223 # [0/1] Frontend to kernel.org
232 # [0/1] Frontend to the stock market.
235 # [0/1] Display random text in the channel.
238 # [0/1] Display random text in the channel.
239 set randomFactoid true
241 # [0/1] Warn users about root.
243 # passive -- be polite plus stuff, compliant to OPN, heh.
245 set rootWarnMode passive
247 # [0/1] Factoid search.
250 # [0/1] keeps stats on individual commands
253 # [0/1] slashdot headlines.
256 # [0/1] frontend to ispell.
259 # [0/1] Advanced topic management.
262 # [0/1] User Information Services.
265 # [0/1] Uptime daemon
268 # [0/1] Wingate checking and banning mechanism. FIXME:
270 # [int] seconds. minimum time to check.
271 set wingateInterval 60
275 set wingateKick Please don't use wingate
277 # [0/1] google search.. simon++. requires libwww-search-perl + 5lines of
281 # [0/1] Unit conversion tool.
285 # Miscellaneous configuration options
288 # [int] Display a bit too much info about stuff.
294 # [0/1] Warn messages.
297 # [0/1] Debugging messages.
300 # [0/1] Work In Progress...
308 ###set dumpvarsAtExit 1
309 # log to specific file or global log file.
310 ###set dumpvarsLogFile dumpvars.log
312 # [str] Interface: [IRC/CLI]
313 # IRC -- Internet Relay Chat
314 # CLI -- Command Line Interface
318 # Now modify blootbot.chan for per-channel specific configuration see
319 # sample.chans for info.