!752 !1002672 // pircbot library import org.jibble.pircbot.*; p { new MyBot bot; bot.setVerbose(true); bot.connect("irc.freenode.net"); bot.joinChannel("#pircbot"); } static class MyBot extends PircBot { MyBot() { setName("a12345"); setAutoNickChange(true); } public void onConnect() { listChannels(">10"); } public void onChannelInfo(String channel, int userCount, String topic) { print("Channel found: " + channel + " (" + userCount + ") - " + topic); } }