Difference between revisions of "MSDP Reportable Variables"
Jump to navigation
Jump to search
(Created page with "== List of Reportable Variables == (current as of Version pre5-4.44.4) {|class="wikitable sortable" cellpadding=5 style="border:1px ! width="200" | Variable!! Remarks |- |CH...") |
(Updated reportable variables) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
== List of Reportable Variables == | == List of Reportable Variables == | ||
(current as of Version | (current as of Version 4.64.0) | ||
{|class="wikitable sortable" cellpadding=5 style="border:1px | {|class="wikitable sortable" cellpadding=5 style="border:1px | ||
| Line 7: | Line 7: | ||
|CHARACTER_NAME|| Character name | |CHARACTER_NAME|| Character name | ||
|- | |- | ||
|SERVER_ID|| | |SERVER_ID|| Reports "TFC" and current version number | ||
|- | |- | ||
|SERVER_TIME|| | |SERVER_TIME|| Current TFC system time | ||
|- | |- | ||
|SNIPPET_VERSION|| The version of the code snippet used as the basis for the implementation code | |SNIPPET_VERSION|| The version of the code snippet used as the basis for the implementation code | ||
| Line 15: | Line 15: | ||
|AFFECTS|| Table of current "affects" | |AFFECTS|| Table of current "affects" | ||
|- | |- | ||
|ALIGNMENT|| | |ALIGNMENT|| Two letter alignment code (e.g. NG for Neutral Good) | ||
|- | |- | ||
|EXPERIENCE|| Current xp | |EXPERIENCE|| Current xp | ||
| Line 24: | Line 24: | ||
|- | |- | ||
|HEALTH_MAX|| Max hp | |HEALTH_MAX|| Max hp | ||
|- | |||
|RACE|| Character race | |||
|- | |- | ||
|LEVEL|| Current class level | |LEVEL|| Current class level | ||
|- | |- | ||
| | |LEVEL2|| Second class level | ||
|- | |||
|LEVEL3|| Third class level | |||
|- | |- | ||
|CLASS|| Current class ( | |CLASS|| Current class (full class name) | ||
|- | |- | ||
| | |CLASS2|| Current secondary class (full class name) | ||
|- | |- | ||
| | |CLASS3|| Current tertiary class (full class name) | ||
|- | |- | ||
|MANA|| Current ma | |MANA|| Current ma | ||
| Line 44: | Line 48: | ||
|- | |- | ||
|MONEY|| Current gold on hand | |MONEY|| Current gold on hand | ||
|- | |||
|BANK|| Current gold in bank | |||
|- | |- | ||
|MOVEMENT|| Current mv | |MOVEMENT|| Current mv | ||
| Line 55: | Line 61: | ||
|OPPONENT_LEVEL||Not used. Persistently reports 0. | |OPPONENT_LEVEL||Not used. Persistently reports 0. | ||
|- | |- | ||
|OPPONENT_NAME|| | |OPPONENT_NAME|| The short description of the current opponent | ||
|- | |- | ||
|AREA_NAME|| Current zone author and name | |AREA_NAME|| Current zone author and name | ||
| Line 65: | Line 71: | ||
|ROOM_VNUM|| Current room vnum (may be obscured) | |ROOM_VNUM|| Current room vnum (may be obscured) | ||
|- | |- | ||
|WORLD_TIME|| | |WORLD_TIME|| Reports in-world hour | ||
|- | |- | ||
|CLIENT_ID|| | |CLIENT_ID|| | ||
Latest revision as of 18:26, 2 December 2017
List of Reportable Variables
(current as of Version 4.64.0)
| Variable | Remarks |
|---|---|
| CHARACTER_NAME | Character name |
| SERVER_ID | Reports "TFC" and current version number |
| SERVER_TIME | Current TFC system time |
| SNIPPET_VERSION | The version of the code snippet used as the basis for the implementation code |
| AFFECTS | Table of current "affects" |
| ALIGNMENT | Two letter alignment code (e.g. NG for Neutral Good) |
| EXPERIENCE | Current xp |
| EXPERIENCE_TNL | The total xp at which the next level will be attained (differs from prompt) |
| HEALTH | Current hp |
| HEALTH_MAX | Max hp |
| RACE | Character race |
| LEVEL | Current class level |
| LEVEL2 | Second class level |
| LEVEL3 | Third class level |
| CLASS | Current class (full class name) |
| CLASS2 | Current secondary class (full class name) |
| CLASS3 | Current tertiary class (full class name) |
| MANA | Current ma |
| MANA_MAX | Max ma |
| WIMPY | Current wimpy setting in hp |
| PRACTICE | Number of practices available |
| MONEY | Current gold on hand |
| BANK | Current gold in bank |
| MOVEMENT | Current mv |
| MOVEMENT_MAX | Max mv |
| OPPONENT_HEALTH | Reports as an integer between 0-100 representing a percentage of opponent health. |
| OPPONENT_HEALTH_MAX | Reports 0 when not fighting and 100 when fighting. |
| OPPONENT_LEVEL | Not used. Persistently reports 0. |
| OPPONENT_NAME | The short description of the current opponent |
| AREA_NAME | Current zone author and name |
| ROOM_EXITS | Table with the room exits and their status (O=open/C=closed) ***Note: some zones show goofy results here*** |
| ROOM_NAME | Current room name |
| ROOM_VNUM | Current room vnum (may be obscured) |
| WORLD_TIME | Reports in-world hour |
| CLIENT_ID | |
| CLIENT_VERSION | |
| PLUGIN_ID | |
| ANSI_COLORS | |
| XTERM_256_COLORS | |
| UTF_8 | |
| SOUND | |
| MXP |