1 # infobot configuration file, modify it to your own taste. infobot reads
2 # this file from files/infobot.config so it should be moved there.
9 set ircName infobot experimental bot
10 # if your irc network requires a password to get on the servers
11 #set ircPasswd SomePassword
14 # if not using a virtualhost set to 0.0.0.0
15 # otherwise IRC::Connection might try localhost which will NOT work
16 ###set ircHost vh.virtualhost.org
22 ###set nickServ_pass PASSWORD
24 # default quit message.
25 set quitMsg adios amigos
27 # path to a temporary directory which infobot can use.
31 # Factoid database configuration
34 # [str] Ability to remember/tell factoids
37 # SQLite -- SQLite (libdbd-sqlite-perl) (might be version 2 or 3)
38 # SQLite2 -- SQLite (libdbd-sqlite-perl) (force version 2)
39 # pgsql -- postgresql (SUPPORTED and TESTED!!!)
40 ### REQUIRED by factoids,freshmeat,karma,seen,...
43 # [str] SQLite filename prefix // MYSQL/PGSQL database.
44 # eg: infobot-factoids, infobot-seen
45 # eg: /var/db/mysql/infobot/factoids.*
48 # [str] Hostname of database server (unset for SQLite)
51 # [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite)
54 # [str] SQL password. (unset for SQLite)
57 # [str] SQL debug file. "-" for stdout may work on some platforms
58 ###set SQLDebug SQL_debug.log
61 # Logfile configuration
64 # [file] where to put logging info. comment out to disable.
65 #set logfile log/$ircUser.log
68 # [str] Type of logging.
69 # DAILY -- Create a new log each day.
70 # DEFAULT -- One continuous log file.
73 # [int] Maximum log size, if logfile is defined, in bytes.
74 set maxLogSize 10000000
77 # Factoid-related configuration
80 # [bool] Factoid support.
83 # [days] if not 0, number of days until factoid is deleted for good.
84 set factoidDeleteDelay 0
86 # [int] maximum length of factoid key.
89 # [int] maximum length of factoid value.
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.
98 # [str] different behaviour with URLs.
99 # REQUIRE -- means it will need to be a url type (e.g. file:, http:)
100 # OPTIONAL -- will take anything
101 # REJECT -- will not accept any urls. this makes it easy to
102 # run 2 with different nicks and styles.
103 # ^^^ what's the point of this???
104 set acceptUrl OPTIONAL
106 # [bool] profanity checking.
107 set profanityCheck false
109 # [0/1] tell so-and-so about such-and-such of a factoid.
112 # [str] other bots to ask for factoids which they may have.
113 #set friendlyBots url purl script mrapi
116 # Factoid related and unrelated features, mainly Extras.
119 # [str] addressing is when you name the bot. FIXME:
120 # REQUIRE -- the bot only does something if addressed.
121 # OPTIONAL -- the bot responds (does not learn) irrelevent of
123 set addressing REQUIRE
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
130 # [str] how long the output string should be before it is changed from
132 # "+" before bot commands overrides this option temporarily.
133 ###set minLengthBeforePrivate 192
135 # [0/1] allow people outside any channels the bot is on to use the bot
136 # for factoids and commands.
137 set disallowOutsiders 1
139 # [int] Amount of time for auto-ignore (flooding) to expire.
140 set ignoreAutoExpire 5
142 # [int] Amount of time for forced-online ignore to expire. minutes.
143 set ignoreTempExpire 60
146 # Internal (simple) bot commands
149 # [0/1] Forking... disable for non-nix OS or to reduce mem usage.
150 # Disabling should make the bot work on Win32 and MacOS.
153 # [int] Backlog... ideal to see what happened to the bot on console.
154 # maximum number of lines to backlog.
161 # [str] anything which requires LWP + http proxy.
162 ###set httpProxy http://HOSTNAME:PORT/
164 # [0/1] countdown to specific dates
167 # [0/1] Debian file and package search.
168 # FIXME: should be a channel option
173 # [int] how often to update the freshmeat table, in hours.
174 set freshmeatRefreshInterval 24
176 # [bool] if factoid does not exist, check freshmeat for it.
177 set freshmeatForFactoid false
182 # [minutes] RSS Feeds refresh interval
186 # Miscellaneous configuration options
189 # [int] Display a bit too much info about stuff.
195 # [0/1] Warn messages.
198 # [0/1] Debugging messages.
201 # [0/1] Work In Progress...
209 ###set dumpvarsAtExit 1
210 # log to specific file or global log file.
211 ###set dumpvarsLogFile dumpvars.log
214 ###set symdumpLogFile log/dumpvars2.log
216 # [str] Interface: [IRC/CLI]
217 # IRC -- Internet Relay Chat
218 # CLI -- Command Line Interface
221 # [0/1] Show topic author (troubled)
222 # If 1, topics managed with !topic add foo will show the nick in ()'s
223 # If 0, the nick of the creator will be recorded for !topic list, but not shown in the topic itself
227 # Now modify infobot.chan for per-channel specific configuration see
228 # sample.chans for info.