Batch Set Inventory Data

25 February 2017

  • Release 9.157 - added.
batchsetinventorydata (Commands)
TypeCorrade progressive command
Commandbatchsetinventorydata
DescriptionThe batchsetinventorydata command can be used to set properties on multiple items inside Corrade's inventory following the InventoryItem structure.
Permissionsinventory
Parametersgroup, password, item, data
Last ChangesRelease 9.157 - added.

The batchsetinventorydata command can be used to set properties on multiple items inside Corrade's inventory following the InventoryItem structure.

Command Required Parameters Required Corrade Permissions Example
batchsetinventorydata group, password, item, data inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Set the description to: Yaaaaaaaay!
            // on multiple inventory items.
            "command", "batchsetinventorydata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // A path to an item can also be passed to 
            // the "item" parameter instead of the UUID 
            // "30773f57-bd9d-a705-3f66-19a276b907d1"
            "item", wasListToCSV(
                [
                    "30773f57-bd9d-a705-3f66-19a276b907d1",
                    "/My Inventory/Objects/Chair
                ]
            ),
            "data", wasListToCSV(
                [
                    "Description", "Yaaaaaaaay!"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

Notes


secondlife/scripted_agents/corrade/api/commands/batchsetinventorydata.txt ยท Last modified: 2020/09/04 06:44 (external edit)

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


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