All pastes #110651 Raw Edit

Someone

public text v1 · immutable
·published 2006-08-01 20:36 UTC
rendered paste body
[donavan@wally bot]$ cat MyBotMain.java
public class MyBotMain
{
   public static void main(String[] args) throws Exception
   {
      // Now start our bot up.
      MyBot bot = new MyBot();

      // Enable debugging output.
      bot.setVerbose(true);

      // Connect to the IRC server.
      bot.connect("irc.freenode.net");

      // Join the #pircbot channel.
      bot.joinChannel("#centos");
   }
}
[donavan@wally bot]$ cat MyBot.java
import org.jibble.pircbot.*;

public class MyBot extends PircBot
{
   public MyBot()
   {
      this.setName("pony");
      this.setLogin("pony");
   }
}