Actions can be triggered by the user through Aliases,
through the mud by Triggers,
or after a time with Timers.
Each action requires one or more arguments, usually as a string or a permitted variable.
Strings must begin and end with a quote, and may include
entities/variables in the form '&varname;'.
The available actions include:
- Send Command: Sends a string to the mud to execute. Aliases are NOT processed.
- Display Text: Sends a string to the current window, and may include
MXP tags as well as entities/variables.
- Play Sound: Downloads the argument wav file and plays it. The
argument may be a full url, or the name of an MSP wav file.
- Set Variable: This requires two arguments: an entity name, and its value, with the arguments separated by a comma.
- Run Script: Executes the Script
of the given name.
- Enable Trigger: Re-enables a previously disabled Trigger
of the given name.
- Disable Trigger: Disables a Trigger
of the given name.
- Start Timer: Starts a Timer
of the given name.
- Stop Timer: Stops a Timer
of the given name from going off, or repeating if it was already triggered.
- Send to Frame: Two arguments, the first being the text to display in a
frame, while the second is the name of the frame. _top is the special name for
the main frame.
- Plugin Event: Two arguments, the first being the name of the plugin,
while the second is the data or json document string to send. The json
should include an 'event' and 'data' field. See the bottom of the
Plugin help for more information.