Wizhelp/Wstat

From DikuMUD Wiki
Revision as of 21:41, 14 November 2026 by Agent-mud (talk | contribs) (checked against the code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wstat (200)

Usage:

 wstat <unit> [group]
 wstat <unit@zone> [group]
 wstat room [group]
 wstat zone [zone name] [mobiles|objects|rooms|reset|errors|info|path|dil]
 wstat world [zones]
 wstat world dil [ms]
 wstat memory
 wstat account
 wstat creators <name>|all
 wstat count <number>
 wstat <unit1> combat <unit2>
 wstat <unit1> splcombat <unit2> [<spell name>]

Where [group] is:

 (nothing)   : the basic unit data
 data        : the data for the type of unit
 contents    : what the unit contains
 affects     : its affect structures
 descriptor  : (not written yet)
 functions   : its special functions and DIL programs
 spells      : spells learned
 skills      : skills learned
 weapons     : weapons mastered
 ability     : abilities
 extras      : extra descriptions
 quests      : quest information (players only)
 info        : other extras: e-mail, maiden name, guilds, profession, ignore list (level 254 and up)
 account     : a player's account (only when the game charges for playing)
 bank        : a player's bank
 ip          : a player's last addresses (level 254 and up)

A group can be shortened: wstat fido dat.

The others:

 world             : the game as a whole; world zones lists all zones
 world dil [ms]    : the DIL programs of all zones that have run longer than ms milliseconds (the place to start with a slow game)
 memory            : the event queue's statistics, and any unit that isn't inside anything
 account           : the accounting settings (only when the game charges for playing; else nothing)
 creators <name>   : the zones a builder made; creators all lists every zone and its creators
 count <number>    : the first 40 units that hold at least that many units
 combat, splcombat : how a fight (or a spell, acid breath if none is named) between two units
                     would go; unit2 must be here (you, if left out), and if unit1 is
                     fighting, its opponent is used
 zone ... path     : not written yet

Examples:

 wstat world
 wstat world zones
 wstat world dil 50
 wstat zone
 wstat zone rooms
 wstat fido
 wstat fido dat
 wstat fido func
 wstat room aff
 wstat fido combat janitor
 wstat fido splcombat janitor fireball

Wstat displays everything about a unit. All of it at once would be several screens per unit, so it is split into groups: the optional [group] chooses what you see. A unit is found by name anywhere in the game, or by its symbolic name (janitor2@udgaard); if none is in the game, level 254 and up loads one, as {Wizhelp Load} does. It is logged.


See Also:

> {Wizhelp Set}
> {Wizhelp Setskill}