package net.sourceforge.pain.logic.event.console.command; import net.sourceforge.pain.logic.fn.*; import net.sourceforge.pain.logic.event.console.*; public final class Emote extends CommandHandler { public void processCommand() throws Exception { String emoteText = commandParams; if (emoteText == null || emoteText .length() == 0) { MessageOutFn.outln(console, "Emote what?"); } else { MessageOutFn.outSpace(player, "$n $T", player, emoteText ); MessageOutFn.outOne(player, "$n $T", player, emoteText ); } } public void showHelp() { MessageOutFn.outln(console, command.name+": emote"); } }