31 July 2019

12 June 2018

The batchderez command attempts to de-rez multiple objects from a parcel and either save it in the inventory or to a different destination depending on the type parameter.

CommandRequired ParametersRequired Corrade PermissionsExample
batchderezgroup, password, iteminventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // attempt to derez an object
            // called Chair in a 5m range
            "command", "batchderez",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasListToCSV(
                [
                    wasURLEscape("Chair & Stuff"),
                    "07217bc8-ffa7-4beb-bdb7-f874a54846e0"
                ]
            ),
            "range", 5,
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional ParameterPossible ValueDescription
folderA path or UUID of a folder.Attempts to de-rez the items to the specified folder
typeA field name from DeRezDestination.Can take, delete, attach, etc… The specified item as the de-rez action.
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
selectionattached, 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.

Notes