@parent

From TinyMUX
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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.)