$getObjectProperty
$getObjectProperty will return a object property of a given object.
Usage
$getObjectProperty[objectName;property]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| objectName | string | The object name. | true |
| property | string | Name of the properties. | true |
Example(s)
This will return the object property of “Leref” created in $createObject:
1client.command({2 name: "getObjectProperty",3 code: `4 $getObjectProperty[Object Name;Leref]5 $createObject[Object Name;{"Leref": "Ferel"}]6 `7});