X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=files%2Fsample%2Fblootbot.config;h=d3ccffa1a797eb9621d4860bfd848be22e09f5ce;hb=9b2ed52d2607731198d280a735dd8ba287533422;hp=4a5234ff87e7b829fa26912ca7b607d2007d9332;hpb=da7fd06d82047c17f137afd1984d84dd480153ae;p=infobot.git diff --git a/files/sample/blootbot.config b/files/sample/blootbot.config index 4a5234f..d3ccffa 100644 --- a/files/sample/blootbot.config +++ b/files/sample/blootbot.config @@ -10,9 +10,10 @@ set ircName blootbot experimental bot # if your irc network requires a password to get on the servers #set ircPasswd SomePassword set ircUMode +iw -###set ircHost vh.virtualhost.org + # if not using a virtualhost set to 0.0.0.0 # otherwise IRC::Connection might try localhost which will NOT work +###set ircHost vh.virtualhost.org set ircHost 0.0.0.0 set owner OWNER @@ -25,7 +26,7 @@ set owner OWNER set quitMsg adios amigos # path to a temporary directory which blootbot can use. -set tempDir /home/blootbot/Temp +set tempDir /tmp ##### # Factoid database configuration @@ -34,8 +35,9 @@ set tempDir /home/blootbot/Temp # [str] Ability to remember/tell factoids # none -- disable. # mysql -- ... -# SQLite -- SQLite (libdbd-sqlite-perl) -# pgsql -- postgresql (NOT SUPPORTED) +# SQLite -- SQLite (libdbd-sqlite-perl) (might be version 2 or 3) +# SQLite2 -- SQLite (libdbd-sqlite-perl) (force version 2) +# pgsql -- postgresql (SUPPORTED and TESTED!!!) ### REQUIRED by factoids,freshmeat,karma,seen,... set DBType mysql @@ -61,7 +63,8 @@ set SQLPass PASSWORD ##### # [file] where to put logging info. comment out to disable. -set logfile log/$ircUser.log +#set logfile log/$ircUser.log +set logfile log/ # [str] Type of logging. # DAILY -- Create a new log each day. @@ -87,19 +90,10 @@ set maxKeySize 32 # [int] maximum length of factoid value. set maxDataSize 450 -# [int] minimum length of unaddressed (message) question without question -# before it is answered involuntarily. -# This ignores the 'addressing' setting. -# 0 to disable. -set minVolunteerLength 0 - # [str] when should the bot bother learning new factoids. # ADDRESSED -- only learn when addressed. # HUNGRY -- learn irrelevent of addressing. this will catch -# _everything_, use at your own risk. I tried this ages -# ago and it caught quite funny responses but who knows -# if my modifications will prevent this or not, perhaps -# IsInvalid must be disabled? +# _everything_, use at your own risk. set learn ADDRESSED # [str] different behaviour with URLs. @@ -129,9 +123,6 @@ set allowTelling 1 # addressing. set addressing REQUIRE -# [char] One-character easy recognition. -set addressCharacter ~ - # [str] how the bot should send messages. # PRIVATE -- reply to private messages only, rejecting public msgs. # DEFAULT -- reply to public _and_ private queries. @@ -142,14 +133,6 @@ set talkMethod DEFAULT # "+" before bot commands overrides this option temporarily. ###set minLengthBeforePrivate 192 -# [int] maximum length of reply for Extras function before popping list to -# reduce number of elements. -set maxListReplyLength 400 - -# [int] maximum number of elements in list allowed for Extras function -# before popping elements to reduce total count. -set maxListReplyCount 15 - # [0/1] allow people outside any channels the bot is on to use the bot # for factoids and commands. set disallowOutsiders 1 @@ -164,15 +147,6 @@ set ignoreTempExpire 60 # Internal (simple) bot commands ##### -# [0/1] irc-cli calculator. -set Math 1 - -# [0/1] ord/chr etc -set allowConv 1 - -# [0/1] do you want to allow DNS lookup -set allowDNS 1 - # [0/1] Forking... disable for non-nix OS or to reduce mem usage. # Disabling should make the bot work on Win32 and MacOS. set forking 1 @@ -188,16 +162,12 @@ set backlog 24 # [str] anything which requires LWP + http proxy. ###set httpProxy http://HOSTNAME:PORT/ -# [0/1] offer free factoid cookies -set cookie true - # [0/1] countdown to specific dates set countdown true # [0/1] Debian file and package search. -set Debian false -# [0/1] extra stuff... -set DebianExtra true +# FIXME: should be a channel option +set Debian true # [0/1] Freshmeat set freshmeat false @@ -207,73 +177,9 @@ set freshmeatRefreshInterval 24 # [bool] if factoid does not exist, check freshmeat for it. set freshmeatForFactoid false -# [0/1] insult server -set insult true - -# [0/1] karma -set karma true - -# [0/1] Frontend to kernel.org -set kernel true - -# [0/1] LART. -set lart true - -# [0/1] nickometer -set nickometer true - -# [0/1] Frontend to the stock market. -set Quote true - -# [0/1] Display random text in the channel. -set randomQuote true - -# [0/1] Display random text in the channel. -set randomFactoid true - -# [0/1] Warn users about root. -set RootWarn false -# passive -- be polite plus stuff, compliant to OPN, heh. -# aggressive -- ... -set rootWarnMode passive - -# [0/1] Factoid search. -set search false - -# [0/1] keeps stats on individual commands -set stats true - -# [0/1] slashdot headlines. -set slashdot true - -# [0/1] frontend to ispell. -set spell true - -# [0/1] Advanced topic management. -set Topic true - -# [0/1] User Information Services. -set userinfo true - -# [0/1] Uptime daemon +# [0/1] Uptime logs set Uptime true -# [0/1] Wingate checking and banning mechanism. FIXME: -###set wingate false -# [int] seconds. minimum time to check. -set wingateInterval 60 -# [str] Wingate. -set wingateBan true -# [str] Wingate. -set wingateKick Please don't use wingate - -# [0/1] google search.. simon++. requires libwww-search-perl + 5lines of -# modifications. -set wwwsearch false - -# [0/1] Unit conversion tool. -set Units true - ##### # Miscellaneous configuration options ##### @@ -310,6 +216,11 @@ set useStrict 1 # CLI -- Command Line Interface set Interface IRC +# [0/1] Show topic author (troubled) +# If 1, topics managed with !topic add foo will show the nick in ()'s +# If 0, the nick of the creator will be recorded for !topic list, but not shown in the topic itself +set topicAuthor 1 + #### # Now modify blootbot.chan for per-channel specific configuration see # sample.chans for info.