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.


There are many versions...
Unfortunately, and as is often the case, there are [https://sourceforge.net/projects/infobot/files/infobot/ many versions] which makes it a bit confusing...
* https://sourceforge.net/projects/infobot/files/infobot/


The IRC Hacks article seems to reference the last "0" version, [https://sourceforge.net/projects/infobot/files/infobot/0.45.3/infobot-0.45.3.tar.gz/download 0.45.3]
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:
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:37, 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 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: