@parent

From TinyMUX
Revision as of 02:23, 11 December 2005 by Javelin (talk | contribs) (server diffs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


COMMAND: @parent <object> [=<parent>]

This command sets the parent of <object> to <parent> (or clears the parent if <parent> is omitted. You must control <object>, and must own <parent>.

Related Topics Parent Objects, Inheritance, Ancestors, parent(), children()

Server differences

In PennMUSH, you need not own <parent>, but you must either control <parent> or <parent> must have the LINK_OK flag and you must pass its @lock/parent if one is set. PennMUSH prevents inheritance loops (you can't make an object its own parent, grandparent, etc.)