Parent()

From TinyMUX
Revision as of 15:59, 6 December 2005 by Mark (talk | contribs) (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


FUNCTION: parent(<object>)

Returns the parent of <object>. Returns #-1 if <object> cannot be found or if you do not own <object> and it is not set VISUAL or PARENT_OK.

Example

   > say parent(me)
   You say "#-1"
   > say My va is [v(va)].
   You say "My va is "
   > @parent me=test
   Parent set.
   > say parent(me)
   You say "#323"
   > say My va is [v(va)].
   You say "My va is Testing 123"

Related Topics: @parent, Parent Objects, children(), VISUAL, PARENT_OK