Copy Assets from Notecards to Inventory

25 January 2017

  • Release 9.155 - added.
copynotecardasset (Commands)
TypeCorrade progressive command
Commandcopynotecardasset
DescriptionThe copynotecardasset command can be used to copy assets from notecards to Corrade's inventory.
Permissionsinventory
Parametersgroup, password, asset, item, folder
Last ChangesRelease 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.


secondlife/scripted_agents/corrade/api/commands/copynotecardasset.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.