6 October 2016
getinventorydata (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getinventorydata |
Description | The getinventorydata command can be used to query an item inside Corrade's inventory following the InventoryItem and InventoryFolder structures. |
Permissions | inventory |
Parameters | group , password , item , data |
Last Changes | Release 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) ] ) ); |