All pastes #613687 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-11 03:41 UTC
rendered paste body
		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 {}