Predefined variables: Difference between revisions
From Iron Realms Nexus Client Documentation
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
|- | |- | ||
! scope="col"| Variable | ! scope="col"| Variable | ||
! scope="col"| | ! scope="col"| Description | ||
! scope="col"| Game | ! scope="col"| Game | ||
|- | |- |
Revision as of 19:04, 14 October 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 executed the trigger. |
@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. |
Additionally, Nexus will attempt to automatically fill the in these variables for you:
Variable | Description | Game |
---|---|---|
@my_hp | Your current health | All |
@my_maxhp | Your maximum health | All |
@my_mp | Your current mana points | All |
@my_maxmp | Your current endurance points | All |
@my_nl | Your experience percentage to next level | All |
@my_bal | If you currently have balance | All |
@my_eq | If you currently have equilibrium | All |
@my_vote | If you have not voted for your game recently | All |
@my_string | Your current prompt string | All |
@my_wp | Your current willpower points | Achaea, Aetolia |
@my_maxwp | Your current endurance points | Achaea, Aetolia |
@my_ep | Your current endurance points | Achaea, Aetolia |
@my_maxep | Your maximum endurance points | Achaea, Aetolia |
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.