Reply To a Script Permission Request

9 November 2016

  • Release 9.143 - added the ignore and purge actions.

29 September 2015

  • Release 9.21 - removed the interact permission and instead grant partial permissions following the Corrade group ACL.

7 June 2015

  • Release 8.22 - added the region parameter.

21 December 2014

  • Release 7.34 - renamed the command from replytopermission to replytoscriptpermissionrequest.
replytoscriptpermissionrequest (Commands)
TypeCorrade progressive command
Commandreplytoscriptpermissionrequest
DescriptionThe replytoscriptpermissionrequest command can be used to reply to a script that requests permissions from Corrade.
Permissionseconomy, teleport, interact, grooming or inventory
Parametersgroup, password, action
Last ChangesRelease 9.143 - added the ignore and purge actions.

The replytoscriptpermissionrequest command can be used to reply to a script that requests permissions from Corrade. All the required parameters for the command can be retrieved from the permission notification using the notify command.

Command Required Parameters Required Corrade Permissions Example
replytoscriptpermissionrequest group, password, action economy, teleport, interact, grooming or inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "replytoscriptpermissionrequest",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // reply to a script permission request
            "action", "reply",
            // the parameters for task and item can be
            // obtained through the permission notification
            "task", "6df81d1b-26c4-49af-9fda-bd8d7f8832bc",
            "item", "f59a5870-4393-4d41-bf6a-658f7770dd3e",
            "region", "Cesar's Gonads",
            "permissions",
                wasListToCSV(
                    [
                        // allow the script to pay on behalf of the bot
                        "Debit",
                        // allow the script to trigger an animation
                        "TriggerAnimation"
                    ]
                )
        ]
    )
);
Parameter Possible Value Required Parameter Possible Value Description
action reply item The UUID of the object sending the request. Reply to a script permission request.
task The UUID of the script sending the request.
ignore item The UUID of the object sending the request. Ignore a script permission request.
task The UUID of the script sending the request.
purge Purge all tracked script permission requests.

Notes

The permissions parameter takes a comma-separated list of permissions to grant a script.

Permissions to scripts are granted based on the Corrade ACLs enabled in Corrade's configuration file. The table below summaries which Corrade permissions are required for granting the corresponding script permissions requested with llRequestPermissions.

Script Permissions Requested Corrade Permissions Required
PERMISSION_DEBIT economy
PERMISSION_TELEPORT movement
PERMISSION_ATTACH grooming
PERMISSION_TRIGGER_ANIMATION
PERMISSION_TAKE_CONTROLS
PERMISSION_TRACK_CAMERA
PERMISSION_CONTROL_CAMERA
Remap controls (not implemented on the grid).
PERMISSION_CHANGE_LINKS interact
Change joints (not implemented on the grid).
Release ownership (not implemented on the grid). inventory
Change permissions (not implemented on the grid).

secondlife/scripted_agents/corrade/api/commands/replytoscriptpermissionrequest.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.