31 July 2019

19 May 2015

The setobjectpermissions command can be used to set the permissions of an object.

CommandRequired ParametersRequired Corrade PermissionsExample
setobjectpermissionsgroup, password, item, permissionsinteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the next owner permission on the chair
            // to copy, transfer an no modification
            "command", "setobjectpermissions",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Chair",
            "range", 5,
            "permissions", wasURLEscape("c--mvt------------c---vtc--mvt")
        ]
    )
);
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.

The value passed to the permissions key must be formatted in the Corrade permissions notation.

Notes