Difference between revisions of "Wizhelp/Wstat"

From DikuMUD Wiki
Jump to navigation Jump to search
(checked against the code)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
−
= wstat =
+
= Wstat (200) =
  
 
Usage:
 
Usage:
 
   wstat <unit> [group]
 
   wstat <unit> [group]
 +
  wstat <unit@zone> [group]
 
   wstat room [group]
 
   wstat room [group]
−
   wstat zone [zone name] [mobiles|objects|rooms|reset|error|info]
+
   wstat zone [zone name] [mobiles|objects|rooms|reset|errors|info|path|dil]
 
   wstat world [zones]
 
   wstat world [zones]
 +
  wstat world dil [ms]
 +
  wstat memory
 +
  wstat account
 +
  wstat creators <name>|all
 +
  wstat count <number>
 
   wstat <unit1> combat <unit2>
 
   wstat <unit1> combat <unit2>
 
   wstat <unit1> splcombat <unit2> [<spell name>]
 
   wstat <unit1> splcombat <unit2> [<spell name>]
  
 
Where [group] is:
 
Where [group] is:
−
   <no argumnet> : The basis unit data
+
   (nothing)  : the basic unit data
−
   data : The specific data for the type of unit
+
   data       : the data for the type of unit
−
   contents : list of unit contents
+
   contents   : what the unit contains
−
   affect : list of affect-structures for unit
+
   affects    : its affect structures
−
   descriptor : descriptor data for player
+
   descriptor : (not written yet)
−
   func : special function for unit
+
   functions  : its special functions and DIL programs
−
   spell : spells leaned by char
+
   spells      : spells learned
−
   skill : skills learned by char
+
   skills      : skills learned
−
   weapon : weapons mastered by char
+
   weapons    : weapons mastered
−
   extra : extra descriptions
+
   ability    : abilities
−
   quest : Quest information (PC's only)
+
  extras      : extra descriptions
−
   info : other extra descriptions including e-mail, maiden name, guilds, profession, ignore list
+
   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:
 
Examples:
−
   >wstat world
+
   wstat world
−
   >wstat world zones
+
   wstat world zones
−
   >wstat zone
+
   wstat world dil 50
−
   >wstat zone rooms
+
  wstat zone
−
   >wstat fido
+
   wstat zone rooms
−
   >wstat fido dat  
+
   wstat fido
−
   >wstat fido func
+
   wstat fido dat
−
   >wstat room aff
+
   wstat fido func
−
   >wstat fido combat janitor
+
   wstat room aff
−
   >wstat fido splcombat janitor fireball
+
   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.
  
−
Wstat displays everything about a unit. However all this info will confuse
 
−
anyone (several screens of info per unit), so we had to split it up. The
 
−
optional [group] determines which info you want.
 
  
−
See also:
+
See Also:
−
  >wizhelp set
+
> {Wizhelp Set}
−
  >wizhelp setskill
+
> {Wizhelp Setskill}

Latest revision as of 21:41, 14 November 2026

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}