Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Contents (MPI)

From Tapestries MUCK

Revision as of 13:13, 30 March 2007 by Ash-Fox (Talk | contribs)
Jump to: navigation, search

contents

{contents:obj}
{contents:obj,type}

Returns a list of the contents of the given object. If a second argument is passed to it, it restricts the listing to only those objects that are of the given type. Either the object must be nearby the trigger object, or else the owner of the trigger object must control the object. Otherwise this will error out with a Permission Denied error. The valid object type values are Room, Thing, Exit, Player, Program, and Bad.

HINT: If you need to get a list of two types of objects from the room, just concatenate the lists from two calls to this function, with each object type you want. ie:

{mklist:{contents:here,player},{contents:here,thing}}

or

{contents:here,player}{nl}{contents:here,thing}
Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox