Set Inventory Data

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

22 September 2016

  • Release 9.127 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: setinventorydata Description[wiki]: The setinventorydata command can be used to set properties on an item inside Corrade's inventory following the InventoryItem structure. Permissions[wiki]: inventory Parameters[wiki]: group, password, item, data Last Changes[wiki]: Release 9.133 - The command now can take a path instead of a name. </data>

The setinventorydata command can be used to set properties on an item inside Corrade's inventory following the InventoryItem structure.

Command Required Parameters Required Corrade Permissions Example
setinventorydata group, password, item, data inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Set the description to: Yaaaaaaaay!
            // on an inventory item referenced by
            // an inventory item UUID
            "command", "setinventorydata",
            "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", "30773f57-bd9d-a705-3f66-19a276b907d1",
            "data", wasListToCSV(
                [
                    "Description", "Yaaaaaaaay!"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

Notes


secondlife/scripted_agents/corrade/api/commands/setinventorydata.txt ยท Last modified: by office

Wizardry and Steamworks

© 2025 Wizardry and Steamworks

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.