All pastes #611926 Raw Edit

Stuff

public text v1 · immutable
·published 2007-07-10 03:20 UTC
rendered paste body
	public void onMessage(String channel, String sender, String login, String hostname, String message, String hostmask) {
		if (message.startsWith("Playing: [")) {
			if (message.endsWith(".mp3 ]")) {
				ban(channel, hostmask);
				kick(channel, sender, "The mp3 script isn't welcome.  Turn it off.  Your ban will be removed in 1 minute");
			}
		}
	}