IMM_SSTAT
Keywords: IMM_SSTAT, WIZ_SSTAT
=== STAFF MANUAL ===
Usage: sstat <name>
sstat room
sstat mob <name>
sstat obj <name>
Description:
Display the scripting state of an entity -- all attached
triggers, their variables, and active thread state. With no type
prefix, searches characters then objects. sstat room stats your
current room. Requires General privileges.
Output:
Identity Entity name, keywords, VID, and location
(room VID for characters, type for objects).
Global Variables
All variables on the entity's script scope, listed as
name: value pairs. Context IDs shown in braces (e.g.
var{1234}). UID references are resolved to names.
Triggers (for each attached trigger):
Name / VID .... Trigger name and virtual ID.
Script Type ... Mob, Object, Room, or Global.
Trigger Type .. Trigger type flags (Command, Speech,
Greet, Death, Random, etc.).
N Arg ......... Numeric argument.
Arg List ...... String argument pattern.
Threads (for each active thread on a trigger):
Thread ID ..... Thread identifier.
Wait .......... Ticks remaining until the thread resumes.
Current Line .. Line number and source text of the line
the thread is paused on.
Variables ..... Thread-local variables and their values.
Shared Variables
Variables shared across all instances of a trigger
prototype, marked with (shared).
Notes:
- This is the primary tool for debugging live script state.
- An out-of-date thread shows <OUT OF DATE> when the script
source has been recompiled since the thread started.
Related Helpfiles: WIZ_STAT, WIZ_VATTACHED, WIZ_COMPILE
=== END MANUAL ===