7 June 2015

The returnprimitives can return the primitives of an avatar on a parcel, an entire region or an entire estate depending on the entity parameter and the position sub-parameter.

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
returnprimitivesgroup, password, firstname, lastname (or agent by UUID), entity, typelandWhen Corrade is not an estate manager:
* For returning other primitives: Parcel Content→Return non-group objects
* For returning group objects: Parcel Content→Return objects set to group
* For returning objects owned by group: Parcel Content→Return objects owned by group
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // return Jolly Roger's primitives
            // on the current region
            "command", "returnprimitives",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Jolly",
            "lastname", "Roger",
            "entity", "parcel",
            "type", "other",
            "callback", wasURLEscape(URL)
        ]
    )
);
ParameterPossible ValueSub-ParameterSub-Parameter ValueOptional Sub-ParameterPossible ValuesDescription
entityparceltypeOwnerpositionvectorA vector within the bounds of a parcel that Corrade should return the primitives from. If no position parameter is supplied, Corrade returns the primitives from the entire region.
Group
Other
Sell
estateReturnScriptedalltrueIf all is set to true, then Corrade returns the objects from all the estates. If all is not supplied (or supplied as false), Corrade returns the objects only from the current estate.
ReturnOnOthersLandfalse
ReturnScriptedAndOnOthers
Optional ParameterPossible ValuesDescription
regionA string representing a region name.Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected.

Notes