An IRC bot is a set of scripts or an independent program that connects to Internet Relay Chat as a client, and so appears to other IRC users as another user. An IRC bot differs from a regular client in that instead of providing interactive access to IRC for a human user, it performs automated functions. This definition of a bot is from http://en.wikipedia.org/wiki/IRC_bot
The easiest way to start a bot is to use an existing program that's been used and refined for many years. My choice for this was to use an eggdrop bot.
I downloaded my eggdrop program from the website www.eggdrop.org.
Download and installation to your shell
Modifying your configuration file
Phew….that covers the modification to the configuration file. Now onto getting you bot up and running on IRC and making yourself the bots master
Getting your bot up and running in an IRC
Now..Let's give your bot some personality and the ability to talk on his/her own in the channel. We will do this by installing MegaHAL
That's it, you should now have a functioning bot in the #botchan