Eggdrop

 

Prerequisites

apt-get install pkg-config build-essential intltool

apt-get install checkinstall libncurses5-dev

apt-get install zip unzip

apt-get install tcl8.5 tcl8.5-dev

#######################################################################

Download, untar, compile and install eggdrop1.6.21.tar.gz

su pi

sudo wget http://www.eggheads.org/redirect.php?url=ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/eggdrop1.6.21.tar.gz
sudo tar -zxvf eggdrop1.6.21.tar.gz
cd eggdrop1.6.21
sudo ./configure --with-tcllib='/usr/lib/libtcl8.5.so' --with-tclinc='/usr/include/tcl8.5/tcl.h'
sudo make config
sudo make
sudo make install

#######################################################################

Move eggdrop to /home/pi (you don’t have to but i like to have it in pi’s home directory)

su root

cp -R /root/eggdrop /home/pi

rm -R /root/eggdrop

su pi

#######################################################################

Time to edit eggdrop.conf

There’s a lot to edit and it will take some time.

Here you can see how i have edit my eggdrop.conf

Lets fire scu77y up!

/home/pi/eggdrop/eggdrop -m

If everything goes as plan you will get something like this-

Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[23:53:26] --- Loading eggdrop v1.6.21 (Sun Dec  8 2013)
[23:53:26] Listening at telnet port 3333 (all).
[23:53:26] Module loaded: blowfish
[23:53:26] Module loaded: dns
[23:53:26] Module loaded: channels
[23:53:26] Module loaded: server
[23:53:26] Module loaded: ctcp
[23:53:26] Module loaded: irc
[23:53:26] Module loaded: notes            (with lang support)
[23:53:26] Module loaded: console          (with lang support)
[23:53:26] Module loaded: uptime
[23:53:26] Loading dccwhois.tcl...
[23:53:26] Loaded dccwhois.tcl
[23:53:26] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[23:53:26] use '.help userinfo' for commands.
[23:53:26] Creating channel file
[23:53:26] Writing channel file...

STARTING BOT IN USERFILE CREATION MODE.
Telnet to the bot and enter 'NEW' as your nickname.
OR go to IRC and type:  /msg scu77y hello
This will make the bot recognize you as the master.

[23:53:26] === scu77y: 1 channels, 0 users.
Launched into the background  (pid: 2711)

 

Time for scu77y to recognize you as the master

Telnet or /msg scu77y hello and follow the given instruction

How to add a channel?

.+chan #mychan
.chanset #mychan chanmode +tnks <key/password.to.chan>
.chattr michelangelo +a #mychan ← makes michelangelo auto op in #mychan
.save
.rehash

Make a simple script for autostart at boot

cd /etc/init.d

nano eggdrop-start

Paste

#!/bin/sh
### BEGIN INIT INFO
# Provides:          eggdrop-start
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start daemon at boot time
# Description:       Enable service provided by daemon.
### END INIT INFO
cd /home/pi/eggdrop && sudo -u pi ./eggdrop

Next

chmod +x eggdrop-start
update-rc.d eggdrop-start defaults

Reboot and see if it works!

 

Leave a Comment