10-21-2016, 06:17 PM
(This post was last modified: 10-21-2016, 06:18 PM by Nickster258.)
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