web analytics

Install Eggdrop on Ubuntu 9.10

google-bot-850

EggDrop: Eggdrop is an Internet Relay Chat (IRC) program for Linux or UNIX users that sits in the background of an IRC Channel to manage and protect a chat. Eggdrop, sometimes referred to as a “bot” (short for “robot”) program, allows the chat manager to keep a list of users, erase users who haven’t been on the channel within a specific time period, keep a list of users who have been banned, prevent channel flooding, and perform other common chat channel management tasks. In this guide, I shall merge the one already online with my own additions to get it up and running.

Getting started

The first thing we need to sort out is getting the correct TCL, you can do this via the Terminal to make it easy to describe:

sudo apt-get install tcl8.4-dev

sudo apt-get install build-essential

This will get you the correct TCL Libraries required for the eggdrop to work and even compile..

Grabbing and compiling the EggDrop

Fire up a Terminal in Ubuntu, change to the Download directory (cd Downloads) and lets begin:

wget ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.19+ctcpfix.tar.gz

tar zxvf eggdrop1.6.19+ctcpfix.tar.gz

cd eggdrop1.6.19

./configure

make config

make

make install (You can also do make install DEST=/home/<name>/botdir)

Configuring the Bot

Now we have in essence a working eggdrop but before we can do anything, we need to edit the config file so it knows what to connect to, the name to use and scripts to load, so forth and so on..

Instead of me re-writing the same stuff found HEREI will instead just offer some ideas for the Linux newbie in that to edit the file you can use the GUI to browse to the eggdrop directory and editing the eggdrop.conf – there is a couple of lines in there that makes the program stop on purpose, so go through all the lines. Another way to edit is by the terminal and use a program called Joe – to install this type sudo apt-get install joe

Scripts

On it’s own, the eggdrop does not really do much but you can start to expand this by means of scripts. You can find some HERE but a simple search on google will find many TCL based sites to get scripts to carry out channel admin (such as keeping a user banned), Trigger scripts (responds with text when a user types !servers for example) or even simple text based games.

In the Config file, you add scripts to load in the form:

source scripts/google.tcl
source scripts/rss.tcl

To load your Eggdrop, you fire up a Terminal, change to the correct directory (cd) and do the following line:

./eggdrop eggdrop.conf

There is more…

This simple guide is just to get you running, you need to do more research to get it working the way you need with the scripts to do what you want it to do. The Bot stays in the channel and keeps the topic, keeps people out who you have banned and so on.

Share

Comments are closed.

Download mp3