Get Inventory Data

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.
getinventorydata (Commands)
TypeCorrade progressive command
Commandgetinventorydata
DescriptionThe getinventorydata command can be used to query an item inside Corrade's inventory following the InventoryItem and InventoryFolder structures.
Permissionsinventory
Parametersgroup, password, item, data
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

The getinventorydata command can be used to query an item inside Corrade's inventory following the InventoryItem and InventoryFolder structures.

Command Required Parameters Required Corrade Permissions Example
getinventorydata group, password, item, data inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // queries the "InventoryType" and
            // "CreatorID" of the item named
            // "gun" in Corrade's inventory
            "command", "getinventorydata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("/My Inventory/Weapons/gun"),
            "data", wasListToCSV(
                [
                    "InventoryType", 
                    "CreatorID"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

secondlife/scripted_agents/corrade/api/progressive/commands/getinventorydata.txt ยท Last modified: 2017/02/22 18:27 (external edit)

Access website using Tor


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