Infobot: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 5: Line 5:
* Described in [https://hub.xpub.nl/bootleglibrary/read/470/pdf#page=181 Run an Infobot], in IRC Hacks, Paul Mutton. 2004.
* Described in [https://hub.xpub.nl/bootleglibrary/read/470/pdf#page=181 Run an Infobot], in IRC Hacks, Paul Mutton. 2004.


Unfortunately, and as is often the case, there are [https://sourceforge.net/projects/infobot/files/infobot/ many versions] which makes it a bit confusing...
Unfortunately, and as is often the case, there are [https://sourceforge.net/projects/infobot/files/infobot/ many versions] which makes it a bit confusing... The 1.5 code seems to be Kevin Lenzo's merge of a different more advanced bot project (blootbot) into the "infobot" line. For historic purposes, we'll stick to looking at the simpler earlier version.


The IRC Hacks article seems to reference the last "0" version (0.45.3 which is *not* the same as 0.43.5 ;) [https://sourceforge.net/projects/infobot/files/infobot/0.45.3/infobot-0.45.3.tar.gz/download 0.45.3] Unfortunately, there seems to be a bit a old PERL still in this code that prevents it from "just running" in 2020. It turns out it's just a question of removing the use of the function "defined". The "patched" and working (on perl 5.28 as of Sept 2020) version is here:
The IRC Hacks article seems to reference the last "0" version (0.45.3 which is *not* the same as 0.43.5 ;) [https://sourceforge.net/projects/infobot/files/infobot/0.45.3/infobot-0.45.3.tar.gz/download 0.45.3] Unfortunately, there seems to be a bit a old PERL still in this code that prevents it from "just running" in 2020. It turns out it's just a question of removing the use of the function "defined". The "patched" and working (on perl 5.28 as of Sept 2020) version is here:


* https://git.xpub.nl/XPUB/infobot
* https://git.xpub.nl/XPUB/infobot

Revision as of 21:38, 27 September 2020

Infobot is a script, written in the PERL programming language by Kevin Lenzo. It's an example of a chatbot,

Unfortunately, and as is often the case, there are many versions which makes it a bit confusing... The 1.5 code seems to be Kevin Lenzo's merge of a different more advanced bot project (blootbot) into the "infobot" line. For historic purposes, we'll stick to looking at the simpler earlier version.

The IRC Hacks article seems to reference the last "0" version (0.45.3 which is *not* the same as 0.43.5 ;) 0.45.3 Unfortunately, there seems to be a bit a old PERL still in this code that prevents it from "just running" in 2020. It turns out it's just a question of removing the use of the function "defined". The "patched" and working (on perl 5.28 as of Sept 2020) version is here: