if (message.startsWith("Playing: [") && message.endsWith("mp3 ]")) { if (noise.equals("noisy")) { // Make sure that they can't talk on this channel for at least a minute. // "Nice" way to give them a hint. ban(channel, hostname); kick(channel, sender, "The mp3 script isn't welcome. Turn it off. Your ban will be removed in 1 minute"); System.out.println(channel + " & " + hostname); // Tell our handler what to allow again. this.unbanTask.setInfo(channel, hostname); // Start their timer. this.unbanTimer = new Timer(); this.unbanTimer.schedule(unbanTask, 60 * 1000, 0); } else {}