In creating an IRC bot, we had to document all of the steps we took and type up the documentation so that we could step by step create the bot again.
Here are the steps I took to create my bot:
continued from my week 4 journal, after line 48…
253. listen 65513 all
410. Insert # (pound sign) so that it will prevent it from working
503-524. uncomment all of it
799. Hello little boys and girls
1240. Chef.notes 1262. Insert # (pound sign) so that it will prevent it from working
Then within the eggdrop folder in my home directory, I had to run the eggdrop executable, (./eggdrop-1.6.19) When you do that, it creates your bot, as well as creates the room that the bot will subside in.
Then after I had to telnet into the bot so I could tell it I am the owner. To do that:
telnet localhost -65513 (whatever the pid number is from ps command)
Then type my nickname and create a password. From there you can rehash the bot when needed (like after editing the brain).
So now you can join a room with a bot sitting in the room, waiting to greet you. But yet it wont talk? whys that? Oh, that's because you haven't set it brain up yet ;)
To do that, you have to download a separate module, called MegaHAL. (or it could be another module you want to use, its just the one I used.) I went to http://www.barkerjr.net/irc/eggdrop/modules/megahal/ and was able to download the version 2.7 .. Then I went to http://wiki.barkerjr.net/wiki/MegaHAL_Module#Installing_.28non-Windrop.29 and was able to follow the how-to to setup my bot, allowing it to interact with me(the non-windrop one).
Another thing I needed to edit in the conf file was I had to edit in a line so that it would load a module (I placed it on line 425):
Then after rehashing it, I was able to communicate with my bot, but now I need to edit the brain, which is the next fun step!!!