$cloneObject
$cloneObject will clone a previously created object.
Usage
$cloneObject[objectName;newObjectName]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| objectName | string | The name of the object that will be cloned. | true |
| newObjectName | string | The new name for the cloned object. | true |
Example(s)
1client.command({2 name: "cloneObject",3 code: `4 $getObjectProperty[Another Name;Leref]5 $cloneObject[Object Name;Another Name]6 $createObject[Object Name;{7 "Leref": "Ferel",8 "aoi.js": "dbd.js"9 }]10 `11});