A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/w/clone


Command: clone - fetching something from another dimension

Description:
	Clones a copy of an object. The "loaded" object (blueprint) must
	NOT be used for anything else then cloning from.

	If the object defined in 'file' isn't loaded, it will be. 'reset()'
	will also be called in the object.

	When the 'file' is cloned, a new copy of the object will be
	created, and moved to either the wizard giving the command, or to
	his room, depending on what 'get()' etc. says in the object. When
	the object is being copied, it will have a new 'reset()' again.

Syntax:
	clone <file>

Examples:
	clone /lib/armour/jacket2

Note:
	The trailing ".c" of the code file has to be omitted.

	Without leading "/" or "~" the given path of <room> is used
	relatively to your current working direktory (see 'help pwd').

	Castles (/players/<wiz>/castle) should never be cloned, because
	they should always exist singularly, not in several copies.
	
	For rooms there are exceptions, but usually also rooms should
	not be cloned.

	The error "Cloning a bad object" occurs when trying to clone
	from a "loaded" object (blue print) that has an environment.

See also:


This page was generated in LPC

Imprint / Impressum