Trash an Item

8 January 2024

  • C12 - add the verify parameter.

7 October 2016

  • Release 9.134 - The command has been renamed from deleteitem.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.
trashitem (Commands)
TypeCorrade progressive command
Commandtrashitem
DescriptionThe trashitem command moves an item to the Trash folder.
Permissionsinventory
Parametersgroup, password, item
Last ChangesRelease 9.134 - The command has been renamed from deleteitem.

The trashitem command moves an item to the Trash folder.

Command Required Parameters Required Corrade Permissions Example
trashitem group, password, item inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "trashitem",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "/My Inventory/Objects/Carrot" // or UUID
        ]
    )
);

item can be the path or the UUID of an inventory item or inventory folder.

Parameter Possible Value Description
verify True or False The verify parameter must be set to True in case this command is allowed to act upon system folders.

secondlife/scripted_agents/corrade/api/commands/trashitem.txt ยท Last modified: 2024/01/08 11:05 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.