9 November 2016
ignore
and purge
actions.29 September 2015
interact
permission and instead grant partial permissions following the Corrade group ACL.7 June 2015
region
parameter.21 December 2014
replytopermission
to replytoscriptpermissionrequest
.replytoscriptpermissionrequest (Commands) | |
---|---|
Type | Corrade progressive command |
Command | replytoscriptpermissionrequest |
Description | The replytoscriptpermissionrequest command can be used to reply to a script that requests permissions from Corrade. |
Permissions | economy , teleport , interact , grooming or inventory |
Parameters | group , password , action |
Last Changes | Release 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. |
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). |