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/commands/getinventorydata.txt ยท Last modified: 2023/12/16 04:50 by office

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.