Difference between revisions of "MSDP Reportable Variables"

From The Final Challenge Wiki
Jump to navigation Jump to search
(→‎List of Reportable Variables: Update to match current variables and reports)
Line 1: Line 1:
== List of Reportable Variables ==
== List of Reportable Variables ==
(current as of Version pre5-4.44.4)
(current as of Version 4.63.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|| Persistently reports 0
|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 aura (with ANSI color codes...)
|ALIGNMENT|| Two letter alignment code (e.g. NG for Neutral Good)
|-
|-
|EXPERIENCE|| Current xp
|EXPERIENCE|| Current xp
Line 29: Line 29:
|RACE|| Character race
|RACE|| Character race
|-
|-
|CLASS|| Current class (abbreviated as in who list)
|CLASS|| Current class (full class name)
|-
|-
|CLASS1|| Current secondary class (abbreviated as in who list)
|CLASS2|| Current secondary class (full class name)
|-
|-
|CLASS2|| Current tertiary class (abbreviated as in who list)
|CLASS3|| Current tertiary class (full class name)
|-
|-
|MANA|| Current ma
|MANA|| Current ma
Line 65: Line 65:
|ROOM_VNUM|| Current room vnum (may be obscured)
|ROOM_VNUM|| Current room vnum (may be obscured)
|-
|-
|WORLD_TIME|| Persistently reports 0
|WORLD_TIME|| Reports in-world hour
|-
|-
|CLIENT_ID||  
|CLIENT_ID||  

Revision as of 21:44, 7 June 2016

List of Reportable Variables

(current as of Version 4.63.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
LEVEL Current class level
RACE Character race
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
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