com.mythicscape.batclient.interfaces
Interface MacroManager


public interface MacroManager


Method Summary
 void newMacro(java.lang.String name, java.lang.String body)
          Creates a new macro.
 void unassignMacro(java.lang.String name)
          Removes a macro from the MacroManager.
 

Method Detail

newMacro

void newMacro(java.lang.String name,
              java.lang.String body)
Creates a new macro. If a macro already exist with the defined name it will be overwritten with the new.

Parameters:
name - The unique name of the macro.
body - The message body that will be executed when the macro is run.

unassignMacro

void unassignMacro(java.lang.String name)
Removes a macro from the MacroManager. If no macro exist with the name nothing will happen when this method is called.

Parameters:
name - The unique name of the macro to unassign.