protected void setMacro(int thisCharacter, String thisBody) {
        TrekLog.logMessage("Setting macro " + thisCharacter + " - " + thisBody);
        macros.put(Integer.toString(thisCharacter), thisBody);
        hud.sendMessage("Macro added.");
    }