31 July 2019
selection optional parameter.13 January 2019
The batchupdateprimitiveinventory command can add or remove items in batches from a primitive's inventory.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
batchupdateprimitiveinventory | group, password, item, entity, action | interact | |
| Optional Parameter | Possible Value | Description |
|---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
selection | attached, rezzed or all (default: all) | Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively. |
| Parameter | Possible Value | Optional Parameter | Description |
|---|---|---|---|
action | add | Add a list of items to the primitive inventory. | |
remove | Remove a list of items from the primitive. | ||
take | Remove a list of items from the primitive and place them in Corrade's inventory. | ||
folder | The path to a folder or the UUID of the folder to which Corrade should take the items to. |
Depending on context, entity can be:
add action, entity can be a list of paths to an inventory item or UUIDs representing items in the bot's inventory.remove and take action, entity can be a list of names or UUIDs representing items in the primitive's inventory.batchupdateprimitiveinventory command is the plural form of the updateprimitiveinventory command.