30 April 2027

6 October 2016

The unwear command takes as parameter a CSV list of wearables and un-wears them.

CommandRequired ParametersRequired Corrade PermissionsExample
unweargroup, password, wearables, typegrooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Un-wear "Dragon Tattoo"
            // and "Grey Skirt"
            "command", "unwear",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "path",
            "wearables", wasListToCSV(
                [
                    "/My Inventory/Clothing/Dragon Tattoo",
                    "/My Inventory/Clothing/Grey Skirt"
                ]
            )
        ]
    )
);
ParameterPossible ValueDescription
typepathDetach the wearables list by a path to inventory items.
UUIDDetach the wearables list by UUID.
slotDetach the wearables list by wearable slot.

Please note that this function is an aggressive function which allows un-wearing body-parts which may result in the avatar not being able to be rendered provided that the removed body-part is not replaced.