From: timriker Date: Tue, 28 Oct 2003 04:52:37 +0000 (+0000) Subject: rename sample.* to blootbot.* X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6011ee146b72be287bfdf73f95085cd5b176bb2e;p=infobot.git rename sample.* to blootbot.* git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@868 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/INSTALL b/INSTALL index 373153f..ef5ee58 100644 --- a/INSTALL +++ b/INSTALL @@ -1,14 +1,11 @@ Method of installation. ----------------------- -- Copy files/sample/sample.config to files/blootbot.config -- Copy files/sample/sample.chan to files/blootbot.chan -- Copy files/sample/sample.servers to files/blootbot.servers -- Copy files/sample/sample.users to files/blootbot.users +- Copy files/sample/* to files/ - Edit files/blootbot.config, modify to taste. -- Edit files/blootbot.chan to set which channels to join. - Edit files/blootbot.servers to modify list of IRC servers to connect. +- Edit files/blootbot.chan to set which channels to join. - Install the following Perl modules: - Net::IRC perl module diff --git a/files/sample/blootbot.chan b/files/sample/blootbot.chan new file mode 100644 index 0000000..979db71 --- /dev/null +++ b/files/sample/blootbot.chan @@ -0,0 +1,66 @@ +#v1: blootbot -- blootbot -- written Wed Oct 30 03:12:44 2002 + +#debian-bots + +allowTelling + +autojoin + +babelfish + factoidDeleteDelay 7 + ircTextCounters heh hah :) ? hi lol + +joinfloodCheck + limitcheckInterval 10 + limitcheckPlus 10 + +news + newsDefaultExpire 7 + +newsKeepRead + +newsNotifyAll + +rootWarn + rootWarnMode aggressive + +#botpark + +autojoin + +_default + +allowConv + +allowDNS + +bzflag + +chanlimitcheck + chanlimitcheckInterval 10 + chanlimitcheckPlus 10 + +cookie + +countdown + +debian + +debianExtra + debianRefreshInterval 7 + +dict + +factoidArguments + floodMessages 10:30 + floodRepeat 2:10 + +freshmeat + freshmeatRefreshInterval 24 + +insult + +karma + +kernel + +lart + +limitcheck + +log + +nickometer + +perlMath + +quote + +search + +seen + seenFlushInterval 60 + seenMaxDays 90 + +seenStoreAll + +seenStats + +slashdot + +spell + +tell + +topic + +units + +userinfo + +weather + +wwwsearch + +zfi + -zippy + +zsi + diff --git a/files/sample/blootbot.config b/files/sample/blootbot.config new file mode 100644 index 0000000..8bd2953 --- /dev/null +++ b/files/sample/blootbot.config @@ -0,0 +1,330 @@ +# blootbot configuration file, modify it to your own taste. blootbot reads +# this file from files/blootbot.config so it should be moved there. + +##### +# Basic IRC info +##### +set ircNick blootbot +set ircUser blootbot +set ircName blootbot experimental bot +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 +set ircHost 0.0.0.0 + +set owner OWNER + +# nickserv/chanserv support. +###set nickServ_pass PASSWORD +###set chanServ_ops #chan1 #chan2 + +# default quit message. +set quitMsg adios amigos + +# path to a temporary directory which blootbot can use. +set tempDir /home/blootbot/Temp + +##### +# Factoid database configuration +##### + +# [str] Ability to remember/tell factoids +# none -- disable. +# mysql -- ... +# SQLite -- SQLite (libdbd-sqlite-perl) +# pgsql -- postgresql (NOT SUPPORTED) +### REQUIRED by factoids,freshmeat,karma,seen,... +set DBType mysql + +# [str] SQLite filename prefix // MYSQL/PGSQL database. +# eg: blootbot-factoids, blootbot-seen +# eg: /var/db/mysql/blootbot/factoids.* +set DBName blootbot + +# [str] Hostname of database server (unset for SQLite) +set SQLHost localhost + +# [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite) +set SQLUser blootbot + +# [str] SQL password. (unset for SQLite) +set SQLPass PASSWORD + +# [str] SQL debug file. +###set SQLDebug SQL_debug.log + +##### +# Logfile configuration +##### + +# [file] where to put logging info. comment out to disable. +set logfile log/$ircUser.log + +# [str] Type of logging. +# DAILY -- Create a new log each day. +# DEFAULT -- One continuous log file. +set logType DAILY + +# [int] Maximum log size, if logfile is defined, in bytes. +set maxLogSize 10000000 + +##### +# Factoid-related configuration +##### + +# [bool] Factoid support. +set factoids true + +# [days] if not 0, number of days until factoid is deleted for good. +set factoidDeleteDelay 0 + +# [int] maximum length of factoid key. +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? +set learn ADDRESSED + +# [str] different behaviour with URLs. +# REQUIRE -- means it will need to be a url type (e.g. file:, http:) +# OPTIONAL -- will take anything +# REJECT -- will not accept any urls. this makes it easy to +# run 2 with different nicks and styles. +# ^^^ what's the point of this??? +set acceptUrl OPTIONAL + +# [bool] profanity checking. +set profanityCheck false + +# [0/1] tell so-and-so about such-and-such of a factoid. +set allowTelling 1 + +# [str] other bots to ask for factoids which they may have. +#set friendlyBots url purl script mrapi + +##### +# Factoid related and unrelated features, mainly Extras. +##### + +# [str] addressing is when you name the bot. FIXME +# REQUIRE -- the bot only does something if addressed. +# OPTIONAL -- the bot responds (does not learn) irrelevent of +# 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. +set talkMethod DEFAULT + +# [str] how long the output string should be before it is changed from +# public to private. +# "+" 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 450 + +# [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 + +# [int] time, in seconds. (different messages) +set floodMessages 10:30 +# [int] same messages. +set floodRepeat 2:10 + +# [int] Amount of time for auto-ignore (flooding) to expire. +set ignoreAutoExpire 5 + +# [int] Amount of time for forced-online ignore to expire. minutes. +set ignoreTempExpire 60 + +##### +# Internal (simple) bot commands +##### + +# [0/1] irc-cli calculator. +set perlMath 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 + +# [int] Backlog... ideal to see what happened to the bot on console. +# maximum number of lines to backlog. +set backlog 24 + +##### +# Extra features +##### + +# [str] anything which requires LWP + http proxy. +###set httpProxy http://HOSTNAME:PORT/ + +# [0/1] babelfish translator. jdf++. +set babelfish true + +# [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 +# [int] how often to update the debian table, in days. +set debianRefreshInterval 1 +# [0/1] extra stuff... +set debianExtra true + +# [0/1] Frontend to dict.org's wordnet. +set dict false + +# [0/1] Freshmeat +set freshmeat false +# [int] how often to update the freshmeat table, in hours. +set freshmeatRefreshInterval 24 + +# [bool] if factoid does not exist, check freshmeat for it. +set freshmeatForFactoid false + +# [0/1] insult server +set insult false + +# [0/1] karma +set karma true + +# [0/1] Frontend to kernel.org +set kernel false + +# [0/1] LART. +set lart true + +# [0/1] nickometer +set nickometer true + +# [0/1] Frontend to the stock market. +set quote false + +# [0/1] Display random text in the channel. +set randomQuote true + +# [int] Interval (or more than), in minutes. +set randomQuoteInterval 60 + +# [0/1] Display random text in the channel. +set randomFactoid true + +# [int] Interval (or more than), in minutes. +set randomFactoidInterval 60 + +# [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 false + +# [0/1] frontend to ispell. +set spell false + +# [0/1] Advanced topic management. +set topic true + +# [0/1] User Information Services. +set userinfo true + +# [0/1] Uptime daemon +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 +##### + +# [int] Display a bit too much info about stuff. +# 0 -- disable. +# 1 -- standard. +# 2 -- extra. +set VERBOSITY 1 + +# [0/1] Warn messages. +set WARN 1 + +# [0/1] Debugging messages. +set DEBUG 0 + +# [0/1] Work In Progress... +set WIP 0 + +# strict perl? +set useStrict 1 + +# debugging... +###set dumpvars 1 +###set dumpvarsAtExit 1 +# log to specific file or global log file. +###set dumpvarsLogFile dumpvars.log + +# [str] Interface: [IRC/CLI] +# IRC -- Internet Relay Chat +# CLI -- Command Line Interface +set Interface IRC + +#### +# Now modify blootbot.chan for per-channel specific configuration see +# sample.chans for info. +#### diff --git a/files/sample/blootbot.countdown b/files/sample/blootbot.countdown new file mode 100644 index 0000000..f127682 --- /dev/null +++ b/files/sample/blootbot.countdown @@ -0,0 +1,12 @@ +# countdown file. +20001225 christmas Christmas +20000914 olympics Opening ceremony of Olympics in Sydney, Australia +20000704 america Independence Day +20000501 potato Proposed release of Debian GNU/Linux Potato 2.2 +20000420 2.4 Hopeful debut of 2.4.0 kernel +20000315 xfree4.0 XFree86 4.0 core release +20000217 win2k Evil Empire's Release of deadly OS +20000126 australia Australia Day +20000119 crusoe Transmeta comes out of hiding +20000115 freeze Debian (GNU/Linux) Potato version 2.2 stabilization begins +20000101 y2k Year 2000 diff --git a/files/sample/blootbot.servers b/files/sample/blootbot.servers new file mode 100644 index 0000000..648b010 --- /dev/null +++ b/files/sample/blootbot.servers @@ -0,0 +1,7 @@ +### +# blootbot.servers: line separated list of servers to connect to +### + +irc.freenode.net +irc.home.org +irc.linux.com diff --git a/files/sample/blootbot.users b/files/sample/blootbot.users new file mode 100644 index 0000000..10b8efd --- /dev/null +++ b/files/sample/blootbot.users @@ -0,0 +1,16 @@ +#v1: blootbot -- blootbot -- written Wed Oct 30 03:12:44 2002 + +_default +--FLAGS mrta +--HOSTS *!*@* + +local +--FLAGS mrsteon +--HOSTS local!local@local +--PASS 5K/rmJPzwxJhU + +xk +--FLAGS mrsteon +--HOSTS *!xk@superbox.home.org +--PASS 5K/rmJPzwxJhU + diff --git a/files/sample/sample.chan b/files/sample/sample.chan deleted file mode 100644 index 979db71..0000000 --- a/files/sample/sample.chan +++ /dev/null @@ -1,66 +0,0 @@ -#v1: blootbot -- blootbot -- written Wed Oct 30 03:12:44 2002 - -#debian-bots - +allowTelling - +autojoin - +babelfish - factoidDeleteDelay 7 - ircTextCounters heh hah :) ? hi lol - +joinfloodCheck - limitcheckInterval 10 - limitcheckPlus 10 - +news - newsDefaultExpire 7 - +newsKeepRead - +newsNotifyAll - +rootWarn - rootWarnMode aggressive - -#botpark - +autojoin - -_default - +allowConv - +allowDNS - +bzflag - +chanlimitcheck - chanlimitcheckInterval 10 - chanlimitcheckPlus 10 - +cookie - +countdown - +debian - +debianExtra - debianRefreshInterval 7 - +dict - +factoidArguments - floodMessages 10:30 - floodRepeat 2:10 - +freshmeat - freshmeatRefreshInterval 24 - +insult - +karma - +kernel - +lart - +limitcheck - +log - +nickometer - +perlMath - +quote - +search - +seen - seenFlushInterval 60 - seenMaxDays 90 - +seenStoreAll - +seenStats - +slashdot - +spell - +tell - +topic - +units - +userinfo - +weather - +wwwsearch - +zfi - -zippy - +zsi - diff --git a/files/sample/sample.config b/files/sample/sample.config deleted file mode 100644 index 8bd2953..0000000 --- a/files/sample/sample.config +++ /dev/null @@ -1,330 +0,0 @@ -# blootbot configuration file, modify it to your own taste. blootbot reads -# this file from files/blootbot.config so it should be moved there. - -##### -# Basic IRC info -##### -set ircNick blootbot -set ircUser blootbot -set ircName blootbot experimental bot -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 -set ircHost 0.0.0.0 - -set owner OWNER - -# nickserv/chanserv support. -###set nickServ_pass PASSWORD -###set chanServ_ops #chan1 #chan2 - -# default quit message. -set quitMsg adios amigos - -# path to a temporary directory which blootbot can use. -set tempDir /home/blootbot/Temp - -##### -# Factoid database configuration -##### - -# [str] Ability to remember/tell factoids -# none -- disable. -# mysql -- ... -# SQLite -- SQLite (libdbd-sqlite-perl) -# pgsql -- postgresql (NOT SUPPORTED) -### REQUIRED by factoids,freshmeat,karma,seen,... -set DBType mysql - -# [str] SQLite filename prefix // MYSQL/PGSQL database. -# eg: blootbot-factoids, blootbot-seen -# eg: /var/db/mysql/blootbot/factoids.* -set DBName blootbot - -# [str] Hostname of database server (unset for SQLite) -set SQLHost localhost - -# [str] SQL user allowed to insert,update,delete stuff from tables. (unset for SQLite) -set SQLUser blootbot - -# [str] SQL password. (unset for SQLite) -set SQLPass PASSWORD - -# [str] SQL debug file. -###set SQLDebug SQL_debug.log - -##### -# Logfile configuration -##### - -# [file] where to put logging info. comment out to disable. -set logfile log/$ircUser.log - -# [str] Type of logging. -# DAILY -- Create a new log each day. -# DEFAULT -- One continuous log file. -set logType DAILY - -# [int] Maximum log size, if logfile is defined, in bytes. -set maxLogSize 10000000 - -##### -# Factoid-related configuration -##### - -# [bool] Factoid support. -set factoids true - -# [days] if not 0, number of days until factoid is deleted for good. -set factoidDeleteDelay 0 - -# [int] maximum length of factoid key. -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? -set learn ADDRESSED - -# [str] different behaviour with URLs. -# REQUIRE -- means it will need to be a url type (e.g. file:, http:) -# OPTIONAL -- will take anything -# REJECT -- will not accept any urls. this makes it easy to -# run 2 with different nicks and styles. -# ^^^ what's the point of this??? -set acceptUrl OPTIONAL - -# [bool] profanity checking. -set profanityCheck false - -# [0/1] tell so-and-so about such-and-such of a factoid. -set allowTelling 1 - -# [str] other bots to ask for factoids which they may have. -#set friendlyBots url purl script mrapi - -##### -# Factoid related and unrelated features, mainly Extras. -##### - -# [str] addressing is when you name the bot. FIXME -# REQUIRE -- the bot only does something if addressed. -# OPTIONAL -- the bot responds (does not learn) irrelevent of -# 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. -set talkMethod DEFAULT - -# [str] how long the output string should be before it is changed from -# public to private. -# "+" 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 450 - -# [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 - -# [int] time, in seconds. (different messages) -set floodMessages 10:30 -# [int] same messages. -set floodRepeat 2:10 - -# [int] Amount of time for auto-ignore (flooding) to expire. -set ignoreAutoExpire 5 - -# [int] Amount of time for forced-online ignore to expire. minutes. -set ignoreTempExpire 60 - -##### -# Internal (simple) bot commands -##### - -# [0/1] irc-cli calculator. -set perlMath 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 - -# [int] Backlog... ideal to see what happened to the bot on console. -# maximum number of lines to backlog. -set backlog 24 - -##### -# Extra features -##### - -# [str] anything which requires LWP + http proxy. -###set httpProxy http://HOSTNAME:PORT/ - -# [0/1] babelfish translator. jdf++. -set babelfish true - -# [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 -# [int] how often to update the debian table, in days. -set debianRefreshInterval 1 -# [0/1] extra stuff... -set debianExtra true - -# [0/1] Frontend to dict.org's wordnet. -set dict false - -# [0/1] Freshmeat -set freshmeat false -# [int] how often to update the freshmeat table, in hours. -set freshmeatRefreshInterval 24 - -# [bool] if factoid does not exist, check freshmeat for it. -set freshmeatForFactoid false - -# [0/1] insult server -set insult false - -# [0/1] karma -set karma true - -# [0/1] Frontend to kernel.org -set kernel false - -# [0/1] LART. -set lart true - -# [0/1] nickometer -set nickometer true - -# [0/1] Frontend to the stock market. -set quote false - -# [0/1] Display random text in the channel. -set randomQuote true - -# [int] Interval (or more than), in minutes. -set randomQuoteInterval 60 - -# [0/1] Display random text in the channel. -set randomFactoid true - -# [int] Interval (or more than), in minutes. -set randomFactoidInterval 60 - -# [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 false - -# [0/1] frontend to ispell. -set spell false - -# [0/1] Advanced topic management. -set topic true - -# [0/1] User Information Services. -set userinfo true - -# [0/1] Uptime daemon -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 -##### - -# [int] Display a bit too much info about stuff. -# 0 -- disable. -# 1 -- standard. -# 2 -- extra. -set VERBOSITY 1 - -# [0/1] Warn messages. -set WARN 1 - -# [0/1] Debugging messages. -set DEBUG 0 - -# [0/1] Work In Progress... -set WIP 0 - -# strict perl? -set useStrict 1 - -# debugging... -###set dumpvars 1 -###set dumpvarsAtExit 1 -# log to specific file or global log file. -###set dumpvarsLogFile dumpvars.log - -# [str] Interface: [IRC/CLI] -# IRC -- Internet Relay Chat -# CLI -- Command Line Interface -set Interface IRC - -#### -# Now modify blootbot.chan for per-channel specific configuration see -# sample.chans for info. -#### diff --git a/files/sample/sample.config.broken b/files/sample/sample.config.broken deleted file mode 100644 index 11c684d..0000000 --- a/files/sample/sample.config.broken +++ /dev/null @@ -1,343 +0,0 @@ -### -# parameter settings file for blootbot -# by the dms -### - -# [str] Interface: [IRC/CLI] -# IRC -- Internet Relay Chat -# CLI -- Command Line Interface -set Interface IRC - -# IRC. -set ircNick blootbot -set ircUser blootbot -set ircName blootbot experimental bot -set ircUMode +iw -###set ircHost vh.virtualhost.org -set join_channels #DEBIAN-bots - -# nickserv/chanserv support. -###set nickServ_pass PASSWORD -###set chanServ_ops #chan1 #chan2 - -# default quit message -set quitMsg adios amigos - -##### -# logfile -##### - -# [file] where to put logging info. comment out to disable. -set logfile log/$ircUser.log - -# [str] Type of logging. -# DAILY -- Create a new log each day. -# DEFAULT -- One continuous log file. -set logType DAILY - -# [int] Maximum log size, if logfile is defined, in bytes. -set maxLogSize 10000000 - -##### -# Factoid DB Configuration -##### - -# [str] Ability to remember/tell factoids -# none -- disable. -# mysql -- MySQL -# SQLite -- SQLite (libdbd-sqlite-perl) -# pgsql -- PostGreSQL (NOT SUPPORTED YET) -### REQUIRED by factoids,freshmeat,karma,seen,... -set DBType mysql - -# [str] SQLite filename prefix // MYSQL/PGSQL database. -# eg: blootbot-factoids, blootbot-seen -# eg: /var/db/mysql/blootbot/factoids.* -set DBName blootbot - -# [str] Hostname of database server -set SQLHost localhost - -# [str] SQL user allowed to insert,update,delete stuff from tables. -set SQLUser blootbot - -# [str] SQL password. -set SQLPass PASSWORD - -# [str] SQL Debug file. -###set SQLDebug SQL_debug.log - -##### -# factoid-related configuration -##### - -# [bool] Factoid support. -set factoids true - -# [days] if not 0, number of days until factoid is deleted for good. -set factoidDeleteDelay 0 - -# [int] maximum length of factoid key. -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? -set learn ADDRESSED - -# [str] different behaviour with URLs. -# REQUIRE -- means it will need to be a url type (e.g. file:, http:) -# OPTIONAL -- will take anything -# REJECT -- will not accept any urls. this makes it easy to -# run 2 with different nicks and styles. -# ^^^ what's the point of this??? -set acceptUrl OPTIONAL - -# [bool] profanity checking. -set profanityCheck false - -# [0/1] tell so-and-so about such-and-such of a factoid. -set allowTelling 1 - -# [str] other bots to ask for factoids which they may have. -#set friendlyBots url purl script mrapi - -##### -# factoid related and unrelated features, mainly Extras. -##### - -# [str] addressing is when you name the bot. FIXME -# REQUIRE -- the bot only does something if addressed. -# OPTIONAL -- the bot responds (does not learn) irrelevent of -# 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. -set talkMethod DEFAULT - -# [str] how long the output string should be before it is changed from -# public to private. Value of '1' has same behaviour as superseeded -# option 'preferReply PRIVATE'. -# "+" 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 450 - -# [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 - -# [int] time, in seconds. (different messages) -set floodMessages 10:30 -# [int] same messages. -set floodRepeat 2:10 - -# [int] Amount of time for auto-ignore (flooding) to expire. -set ignoreAutoExpire 5 - -# [int] Amount of time for forced-online ignore to expire. minutes. -set ignoreTempExpire 60 - -##### -# Internal (simple) bot commands -##### - -# [0/1] irc-cli calculator. -set perlMath 1 - -# [0/1] ord/chr etc -set allowConv 1 - -# [0/1] do you want to allow DNS lookup -set allowDNS 1 - -# [0/1] Forking... enable for non-nix OS or to reduce mem usage. -# This should work for Win32 and MacOS. About time, hey :) -set forking 1 - -# [int] Backlog... ideal to see what happened to the bot on console. -# maximum number of lines to backlog. -set backlog 24 - -##### -# Miscellaneous... -##### - -# [bool] Display a bit too much info about stuff. -# 0 -- disable. -# 1 -- minimal. -# 2 -- extra. -set VERBOSITY 1 - -# [0/1] Warn messages. -set WARN 1 - -# [0/1] Debugging messages. -set DEBUG 0 - -# [0/1] Work In Progress... -set WIP 0 - -# debugging... -###set dumpvars 1 -###set dumpvarsAtExit 1 -# log to specific file or global log file. -###set dumpvarsLogFile dumpvars.log - -# [0/1] allow 'use strict', makes bot unreliable. -set useStrict 0 - -##### -# Extras -##### - -# [str] anything which requires LWP + http proxy. -###set httpProxy http://HOSTNAME:PORT/ - -# [0/1] babelfish translator. jdf++. FIXME [DOES NOT WORK] -set babelfish false - -# [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 -# [int] how often to update the debian table, in days. -set debianRefreshInterval 1 -# [0/1] extra stuff... -set debianExtra true - -# [0/1] Frontend to dict.org's wordnet. -set dict false - -# [0/1] Freshmeat -set freshmeat false -# [int] how often to update the freshmeat table, in hours. -set freshmeatRefreshInterval 24 -# [chans|all] 10items/hour, might be annoying. -###set freshmeatAnnounce #debian-bots -# [bool] if factoid does not exist, check freshmeat for it. -set freshmeatForFactoid false - -# [0/1] insult server -set insult false - -# [0/1] karma -set karma true - -# [0/1] Frontend to kernel.org -set kernel false -###set kernelAnnounce #debian-bots - -# [0/1] LART. -set lart true - -# [array] Channel limit adjuster. List of channels. -###set limitcheck #debian-bots -# [int] Interval (or more than), in minutes. -set limitcheckInterval 10 -# [int] Adjust channel limit to 10 above total users in channel. -set limitcheckPlus 10 - -# [0/1] nickometer -set nickometer true - -# [0/1] Frontend to the stock market. -set quote false - -# [0/1] Display random text in the channel. -set randomQuote true -# [str] Channels. -set randomQuoteChannels #debian-bots -# [int] Interval (or more than), in minutes. -set randomQuoteInterval 60 - -# [0/1] Display random text in the channel. -set randomFactoid true -# [str] Channels. -set randomFactoidChannels #debian-bots -# [int] Interval (or more than), in minutes. -set randomFactoidInterval 60 - -# [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] persistant "seen". -set seen true -# [0/1] seen statistics for online users like idle time, total message -# count. -set seenStats true -# [int] if someone's been away for more than xx days, delete their info. -# info. -set seenMaxDays 30 -# [int] interval to flush cached seen info. in minutes. -set seenFlushInterval 60 -# [bool] store all information, irrevelent of addressing. -# may chew more CPU. -# Will encourage severe leakaged (2-3x), caused by mysql-perl? -set seenStoreAll 1 - -# [0/1] slashdot headlines. -set slashdot false -###set slashdotAnnounce #debian-bots - -# [0/1] frontend to ispell. -set spell false - -# [0/1] Advanced topic management. -set topic true - -# [0/1] User Information Services. -set userinfo true - -# [0/1] Uptime daemon -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 DIE DIE DIE - -# [0/1] google search.. simon++. requires libwww-search-perl + 5lines of -# modifications. -set wwwsearch false - -# [0/1] Unit conversion tool. -set units true diff --git a/files/sample/sample.countdown b/files/sample/sample.countdown deleted file mode 100644 index f127682..0000000 --- a/files/sample/sample.countdown +++ /dev/null @@ -1,12 +0,0 @@ -# countdown file. -20001225 christmas Christmas -20000914 olympics Opening ceremony of Olympics in Sydney, Australia -20000704 america Independence Day -20000501 potato Proposed release of Debian GNU/Linux Potato 2.2 -20000420 2.4 Hopeful debut of 2.4.0 kernel -20000315 xfree4.0 XFree86 4.0 core release -20000217 win2k Evil Empire's Release of deadly OS -20000126 australia Australia Day -20000119 crusoe Transmeta comes out of hiding -20000115 freeze Debian (GNU/Linux) Potato version 2.2 stabilization begins -20000101 y2k Year 2000 diff --git a/files/sample/sample.insert b/files/sample/sample.insert deleted file mode 100644 index 8c1363b..0000000 --- a/files/sample/sample.insert +++ /dev/null @@ -1,3 +0,0 @@ -hello => hi(, $who)? -status => FIXME... -rnd => $who: (0-10) diff --git a/files/sample/sample.servers b/files/sample/sample.servers deleted file mode 100644 index 648b010..0000000 --- a/files/sample/sample.servers +++ /dev/null @@ -1,7 +0,0 @@ -### -# blootbot.servers: line separated list of servers to connect to -### - -irc.freenode.net -irc.home.org -irc.linux.com diff --git a/files/sample/sample.users b/files/sample/sample.users deleted file mode 100644 index 10b8efd..0000000 --- a/files/sample/sample.users +++ /dev/null @@ -1,16 +0,0 @@ -#v1: blootbot -- blootbot -- written Wed Oct 30 03:12:44 2002 - -_default ---FLAGS mrta ---HOSTS *!*@* - -local ---FLAGS mrsteon ---HOSTS local!local@local ---PASS 5K/rmJPzwxJhU - -xk ---FLAGS mrsteon ---HOSTS *!xk@superbox.home.org ---PASS 5K/rmJPzwxJhU -