package skripteditor.addons.skript.eff;

import skripteditor.effects.Effect;

public class EffMessage extends Effect {

	@Override
	public void registerUserFriendyPatterns() {
		registerUserFriendyPattern("(message|send [message]) %texts% [to %players/console%]");
	}

	@Override
	public void registerPatterns() {
		registerPattern("(message|send[ message]) %texts%[ to %players/console%]");
	}

	@Override
	public String[] getExamples() {
		return new String[] {
				"message \"A wild %player% appeared!\"\n" + "message \"This message is a distraction. Mwahaha!\"\n"
						+ "send \"Your kill streak is %{kill streak.%player%}%.\" to player\n"
						+ "if the targeted entity exists:\n"
						+ "\tmessage \"You're currently looking at a %type of the targeted entity%!\""
		};
	}

	@Override
	public String getName() {
		return "Message";
	}

}
