MSDP Reportable Variables

From The Final Challenge Wiki
Jump to navigation Jump to search

List of Reportable Variables

(current as of Version pre5-4.44.4)

Variable Remarks
CHARACTER_NAME Character name
SERVER_ID
SERVER_TIME Persistently reports 0
SNIPPET_VERSION The version of the code snippet used as the basis for the implementation code
AFFECTS Table of current "affects"
ALIGNMENT Alignment aura (with ANSI color codes...)
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 (abbreviated as in who list)
CLASS1 Current secondary class (abbreviated as in who list)
CLASS2 Current tertiary class (abbreviated as in who list)
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 Persistently reports 0
CLIENT_ID
CLIENT_VERSION
PLUGIN_ID
ANSI_COLORS
XTERM_256_COLORS
UTF_8
SOUND
MXP