Work in the install dir (~/botdir). Copy the sample, do not edit eggdrop.conf in place:
cp eggdrop.conf botnick.conf
Use nano or vim over SSH. Comment original lines with # and put your values underneath.
Remove die
The sample has two die lines so you cannot start an unedited conf. Delete both or the bot exits immediately.
Identity and bind
set nick "BotNick"
set altnick "BotNick_"
set username "yourshelluser"
set owner "YourNick"
set vhost4 "203.0.113.10"
username is ident. Bind the IPv4/IPv6 you were assigned (set vhost4 / set vhost6). Do not leave the sample nick.
Listen and servers
listen 49152 all
server add irc.example.net:6667
server add irc.example.net:+6697
Pick an unused high port for listen (partyline / botnet). 3333 is usually taken. +6697 is TLS.
Channels
channel add #mychan {
chanmode "+nt"
}
Keyed (mode +k):
channel add #mychan {
chanmode "+ntk thekey"
}
Flags worth flipping
set learn-users 0— add people yourself. See security.set protect-telnet 1set require-p 1set stealth-telnets 1set must-be-owner 1if.tcl/.setare enabledset init-server { putserv "PRIVMSG NickServ :IDENTIFY nick pass" }only if you actually use NickServ on that net
Keep a bot log and a channel log:
logfile mcobxs * "logs/botnick.log"
logfile jkp #mychan "logs/#mychan.log"
After edit
First start is still ./eggdrop -m botnick.conf. Then autobotchk. First start. botchk.