Base code for IRC bot scripts, built on "irc" node module