Infobot

Last updated
Infobot
Original author(s) Kevin Lenzo
Initial release1995
Stable release
1.5.3 / August 1, 2008;15 years ago (2008-08-01)
Written in Perl
Operating system Unix-like
Type IRC bot
License Artistic License
Website infobot.sourceforge.net

Infobot is a Perl IRC bot, first written in 1995 by Kevin Lenzo. The bot's main goal was to remember URLs and associate them with a descriptive name, so whenever someone needed a specific URL they could ask the bot. For that reason, the first Infobot, running in #macintosh on the EFnet IRC network, had the nickname 'url'.

Contents

Although the main project is now inactive, many forks from the original program were made, some of which are still active. Most of these forks carry extra features, such as googling a phrase given through the chat and saying the results of the query as messages directly in the chat.

Operation

The Infobot works by a method of factoids. It stores information in its database by connecting a phrase with its definition, usually an informative short line. It records its information by constantly listening to the chat (which is configurable). It states its factoids when it recognizes a question in the chat. For example:

 <someone> wikipedia is http://www.wikipedia.org/ 
The Infobot at this point silently remembers the statement.
 <someone> wikipedia?  <infobot> somebody said wikipedia is http://www.wikipedia.org/ 

Because of its ability to store statements and re-state them with ease, many IRC channel operators use an Infobot to store information such as the channel rules so they could easily give them to newcomers to the channel.

Using its automated replies, Infobots are also often used as an entertainment bot, giving humorous replies to certain queries. For example, to prevent the Infobot from saying 'X is Y', the key word '<REPLY>' is used, to have this effect:

 <someone> dumb bot is <REPLY>stupid human  <someone> infobot: what's up?  <infobot> huh?  <someone> dumb bot  <infobot> stupid human 

Derived bot projects

Infobots running the original Infobot code have become less popular on IRC now, mostly because of the inactivity of the original project. Newer Infobots have additional features. Most of them involve connecting to websites. For example, some bots have a 'weather' module. So someone can ask the Infobot the weather at a certain address, and the Infobot will connect to a weather site and report the up-to-date weather on the chat. Infobots are also useful as calculators, and in currency conversions, word definitions, and many other things which one would otherwise have to open a site for.

A notable fork was blootbot [1] by Tim Riker. In 2008 it was merged back with the original infobot. The resulting code is now maintained under the original infobot name by Riker. [2] It uses an SQL back-end such as MySQL, PGSQL, or SQLite to store factoids.

Related Research Articles

<span class="mw-page-title-main">Irssi</span> Text-mode IRC client

Irssi is an Internet Relay Chat (IRC) client program for Linux, FreeBSD, macOS and Microsoft Windows. It was originally written by Timo Sirainen, and released under the terms of the GNU GPL-2.0-or-later in January 1999.

<span class="mw-page-title-main">Internet Relay Chat</span> Protocol for real-time Internet chat and messaging

Internet Relay Chat (IRC) is a text-based chat system for instant messaging. IRC is designed for group communication in discussion forums, called channels, but also allows one-on-one communication via private messages as well as chat and data transfer, including file sharing.

<span class="mw-page-title-main">ChatZilla</span> IRC client

ChatZilla is an IRC client that is part of SeaMonkey. It was previously an extension for Mozilla-based browsers such as Firefox, introduced in 2000. It is cross-platform open source software which has been noted for its consistent appearance across platforms, CSS appearance customization and scripting.

mIRC scripting language Scripting language embedded in mIRC

The mIRC scripting language is the scripting language embedded in mIRC and Adiirc, IRC clients for Windows but work with WiNE for Linux.

<span class="mw-page-title-main">Eggdrop</span>

Eggdrop is a popular IRC bot and the oldest that is still being maintained.

An IRCd, short for Internet Relay Chat daemon, is server software that implements the IRC protocol, enabling people to talk to each other via the Internet. It is distinct from an IRC bot that connects outbound to an IRC channel.

Client-to-client protocol (CTCP) is a special type of communication between Internet Relay Chat (IRC) clients.

Flooding or scrolling on an IRC network is a method of disconnecting users from an IRC server, exhausting bandwidth which causes network latency ('lag'), or just disrupting users. Floods can either be done by scripts or by external programs.

<span class="mw-page-title-main">Twisted (software)</span> Event-driven network programming framework

Twisted is an event-driven network programming framework written in Python and licensed under the MIT License.

<span class="mw-page-title-main">LAMP (software bundle)</span> Acronym for a common web hosting solution

LAMP is an acronym denoting one of the most common software stacks for many of the web's most popular applications. However, LAMP now refers to a generic software stack model and its components are largely interchangeable.

<span class="mw-page-title-main">Catalyst (software)</span>

Catalyst is an open source web application framework written in Perl, that closely follows the model–view–controller (MVC) architecture, and supports a number of experimental web patterns. It is written using Moose, a modern object system for Perl. Its design is heavily inspired by frameworks such as Ruby on Rails, Maypole, and Spring.

pisg, short for Perl IRC Statistics Generator is a popular open-source Internet Relay Chat (IRC) log file analysis and statistical visualization program. It is written in perl by Morten Brix Pedersen. It analyzes various formats of log files from IRC clients and bots and generates HTML pages containing statistics about the channel the logs were taken from. It is often considered a competitor to mIRCStats, a similar shareware program.

<span class="mw-page-title-main">CGI:IRC</span> CGI program

CGI:IRC is a CGI program written in Perl that allows access to IRC via a web browser. It is designed to be flexible and has many uses such as an IRC gateway for an IRC network, a chat-room for a website or to access IRC when stuck behind a restrictive firewall.

In computing, logging is the act of keeping a log of events that occur in a computer system, such as problems, errors or just information on current operations. These events may occur in the operating system or in other software. A message or log entry is recorded for each such event. These log messages can then be used to monitor and understand the operation of the system, to debug problems, or during an audit. Logging is particularly important in multi-user software, to have a central overview of the operation of the system.

Sphinx is a fulltext search engine that provides text search functionality to client applications.

Plouf's Java IRC (PJIRC) is a web-based open-source IRC client that is written in Java. Any web browser that supports the Java Runtime Environment, or an alternative Java interpreter, can use the applet. Many IRC networks have a public installation of the applet for their network.

The following outline is provided as an overview of and topical guide to the Perl programming language:

<span class="mw-page-title-main">Foswiki</span> Enterprise wiki

Foswiki is an enterprise wiki, typically used to run a collaboration platform, knowledge base or document management system. Users can create wiki applications using the Topic Markup Language (TML), and developers can extend its functionality with plugins.

References

Notes

  1. Juergen Haas, About.com Guide, blootbot Archived 2010-08-24 at the Wayback Machine
  2. "blootbot: The slowest and most bloated bot in the world" . Retrieved January 27, 2010.