Detach an Attachment by Name

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

14 April 2016

  • Release 9.63 - added the required type parameter.
detach (Commands)
TypeCorrade progressive command
Commanddetach
DescriptionCorrade can detach attached items using the detach command.
Permissionsgrooming
Parametersgroup, password, attachments
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

Corrade can detach attached items using the detach command.

Command Required Parameters Required Corrade Permissions Example
detach group, password, attachments, type grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "detach",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // Helmet and Milk Bottle are object names in the inventory
            // ... You can also use UUIDs for inventory items.
            "type", "path",
            "attachments", wasListToCSV(
                [
                    "/My Inventory/My Outfit/Helmet",
                    "/My Inventory/Cool Stuff/Milk Bottle"
                ]
            )
        ]
    )
);
Parameter Possible Value Description
type path Detach the attachments list by a path to inventory items.
UUID Detach the attachments list by UUID.
slot Detach the attachments list by attachment slot.

Demonstration


secondlife/scripted_agents/corrade/api/progressive/commands/detach.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.