@parent

From TinyMUX
Jump to: navigation, search


COMMAND: Command.gif @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.)