Forums - Open Redstone Engineers

Full Version: Maze's bright idea gone mad
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
WE SHALL DUB THINE BOT
OPERATION|UPPE DA BOMME
[Image: 5FwVTPz.png?1]
kill yourself
Code:
public class NicksterSpammer {

  public static void main(String[] args) throws InterruptedException {
    int spamAmount = Integer.valueOf(args[0]);
    String message = args[1];

    String server = "irc.openredstone.org";
    int port = 6667;
    String nick = "nicksterspammer";
    String channel = "#openredstone";
    IRCBot BOT = new IRCBot(server, port, nick);
    BOT.connect();

    for (int i = 0; i<spamAmount; i++) {
      BOT.sendRaw("PRIVMSG nickster " + message);
      Thread.sleep(250);
    }

    BOT.disconnect();

  }
}

why do I do this to myself
*slams ctrl c*