Next: conn_assign

Prev: bind

chparents

chparents(dbref, parents)
This function changes the parents of the object referred to by dbref to the list of dbrefs in parents. If any of the dbrefs in parents do not refer to an existing object, then chparents() throws an ~objnf error. If any of the parents have dbref as an ancestor, or are dbref themselves, then chparents() throws a ~parent error. If dbref refers to the root object, or parents is an empty list, then then chparents() throws a ~perm error. Otherwise, chparents() returns 1.