25 January 2017
copynotecardasset (Commands) | |
---|---|
Type | Corrade progressive command |
Command | copynotecardasset |
Description | The copynotecardasset command can be used to copy assets from notecards to Corrade's inventory. |
Permissions | inventory |
Parameters | group , password , asset , item , folder |
Last Changes | Release 9.155 - added. |
The copynotecardasset
command can be used to copy assets from notecards to Corrade's inventory.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
copynotecardasset | group , password , asset , item , folder | inventory , inventory | llInstantMessage(CORRADE, wasKeyValueEncode( [ // copy the asset referenced by the // UUID e80cbc8f-2439-4020-869b-1c4c0ea9b3e8 // from the notecard referenced by the // UUID e6e8d36d-9567-4612-9fce-3458b9a3d6f0 // to the objects inventory folder and // rename the asset to Sparkle "command", "copynotecardasset", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // rename to "Sparkle" after copying "name", "Sparkle", "asset", "e80cbc8f-2439-4020-869b-1c4c0ea9b3e8", // a notecard referenced by an inventory UUID // can also be a path to a notecard, like folder... "notecard", "e6e8d36d-9567-4612-9fce-3458b9a3d6f0", "folder", "/My Inventory/Objects", "callback", wasURLEscape(URL) ] ) ); |
Optional Parameter | Possible Value | Description |
---|---|---|
name | Any chosen descriptive name for an inventory item. | Once the item is copied from the notecard into Corrade's inventory, if name is specified, then Corrade will rename the item to the value passed to the name optional parameter. |
The command will return the inventory item UUID of the copied notecard asset.
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.