Predefined variables: Difference between revisions
From Iron Realms Nexus Client Documentation
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
! style="text-align:left;" | Description | ! style="text-align:left;" | Description | ||
|- | |- | ||
|@tar | ! scope="row"|@tar | ||
|Your current enemy target. | |Your current enemy target. | ||
|- | |- | ||
|@match | ! scope="row"|@match | ||
|The text matched in a trigger. | |The text matched in a trigger. | ||
|- | |- | ||
|@line | ! scope="row"|@line | ||
|The complete line of text that executed the trigger. | |The complete line of text that executed the trigger. | ||
|- | |- | ||
|@suffix | ! scope="row"|@suffix | ||
|The suffix is set to all of the text received in a line after the matching text. | |The suffix is set to all of the text received in a line after the matching text. | ||
|- | |- | ||
|@prefix | ! scope="row"|@prefix | ||
|The prefix is set to all of the text received in a line before the matching text. | |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: | |||
{| class="wikitable" | |||
|- | |||
! scope="col"| Variable | |||
! scope="col"| What it shows | |||
! scope="col"| Game | |||
|- | |||
! scope="row"| @my_hp | |||
| Your current health | |||
| All | |||
|- | |||
! scope="row"| @my_maxhp | |||
| Your maximum health | |||
| All | |||
|- | |||
! scope="row"| @my_mp | |||
| Your current mana points | |||
| All | |||
|- | |||
! scope="row"| @my_maxmp | |||
| Your current endurance points | |||
| All | |||
|- | |||
! scope="row"| @my_nl | |||
| Your experience percentage to next level | |||
| All | |||
|- | |||
! scope="row"| @my_bal | |||
| If you currently have balance | |||
| All | |||
|- | |||
! scope="row"| @my_eq | |||
| If you currently have equilibrium | |||
| All | |||
|- | |||
! scope="row"| @my_vote | |||
| If you have not voted for your game recently | |||
| All | |||
|- | |||
! scope="row"| @my_string | |||
| Your current prompt string | |||
| All | |||
|- | |||
! scope="row"| @my_wp | |||
| Your current willpower points | |||
| Achaea, Aetolia | |||
|- | |||
! scope="row"| @my_maxwp | |||
| Your current endurance points | |||
| Achaea, Aetolia | |||
|- | |||
! scope="row"| @my_ep | |||
| Your current endurance points | |||
| Achaea, Aetolia | |||
|- | |||
! scope="row"| @my_maxep | |||
| Your maximum endurance points | |||
| Achaea, Aetolia | |||
|} | |} | ||
Revision as of 19:01, 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 | What it shows | 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.