*/
public static void main(String[] args) {
String server = "irc.fyrechat.net:6667";
if (args.length > 0)
server = args[0];
Bot bot = new ReversedBot("calc0000");
Channel session = bot.connect(server);
Scanner input = new Scanner(System.in);
while (true) {
String cmd = input.nextLine();
if (cmd.equalsIgnoreCase("quit") || cmd.equalsIgnoreCase("exit") || cmd.equalsIgnoreCase("shutdown")) {
bot.disconnect(session);
break;
}
}
input.close();
}