Actions

Predefined variables: Difference between revisions

From Iron Realms Nexus Client Documentation

No edit summary
Line 23: Line 23:
=== Example ===
=== Example ===


This is a sample trigger to display some predefined variables.
This is the output from the game, showing some predefined variables. It uses the trigger below.
[[File:PredefinedTrigger.png]]


This is the output from the above trigger.
[[File:PredefinedOutput.png]]
[[File:PredefinedOutput.png]]
This is the sample trigger used display the predefined variables above.
[[File:PredefinedTrigger.png]]

Revision as of 21:16, 22 February 2016

Predefined variables are set by the game as text is sent to the clients.

Variable Name Description
@tar Your current enemy target.
@match The text matched in a trigger.
@line The complete line of text that was last received.
@suffix The suffix is set to all of the text received in a line after the matching text.
@prefix The prefix is set to all of the text received in a line before the matching text.

Example

This is the output from the game, showing some predefined variables. It uses the trigger below.


This is the sample trigger used display the predefined variables above.