The NakedMud Tutorial :: Viewing Commands
Listing contents
Zones, and each content type has an associated list command, which will list all the keys for contents of that type in a zone, or zones themselves. For zones, mobiles, objects, rooms, and triggers, these commands are zlist, mlist, olist, rlist, and tlist, respectively. When listing zones, the list will display each zone's key, its name, who can edit it, and its reset timer. These variables will be discussed later. For now, it suffices to see an example:
> zlist
 Key            Name                                             Editors  Timer
--------------------------------------------------------------------------------
 admintools     Administrative tools                             Alister     -1
 examples       The "proof of concept" zone                      Alister      1
 limbo          The null zone                                                -1
 loot           generic magical items                            Alister     -1
 moonhaven      Alister's zone                                   Alister     -1
 templates      game templates                                   Alister     -1
The display for zone contents is slightly different. Contents will display the key name, other contents it inherits from, and whether it is is abstract (and thus cannot be instantiated, only inherited from). Inheritance and abstractness will be discussed later; NakedMud zone contents are loosely structured like classes in an object oriented programming language with multiple inheritance. For now, it suffices to see an example:
> olist moonhaven
 Key                     Parents                                       Abstract 
--------------------------------------------------------------------------------
 duelist_guild_sign      generic_obj@templates                               no
 duelist_statue          generic_obj@templates                               no
 fire_pit                generic_obj@templates                               no
 fire_shrine             generic_obj@templates                               no
 julianna_token          generic_obj@templates                               no
 mage_teleport_orb       generic_obj@templates                               no
 rolling_pin             generic_obj@templates                               no
 town_fountain           generic_obj@templates                               no
 underground_lake        generic_obj@templates                               no
Contents from other zones can be listed, simply by specifying the appropriate zone key after the list command. If no zone key is specified, the currently occupied zone will be defaulted to. As always, the current zone is implicitly assumed for all key references, unless otherwise is explicitly specified.