While at least one object holds @acceptpermission, the viewer answers certain script permission requests (llRequestPermissions()) with “Yes” automatically, without showing the dialog.

Syntax

@acceptpermission=<add/rem>     (=n / =y work the same)

Specification

A request is granted automatically only if all of these hold:

Requests from muted objects are dropped before this check, as usual. Auto-granted requests bypass the viewer's per-owner throttle.

The option is ignored by the lookup: only a plain acceptpermission entry counts, so @acceptpermission:x=add has no effect.

Caveats

Examples

default
{
    attach(key id)
    {
        if (id) llOwnerSay("@acceptpermission=add");
    }
    run_time_permissions(integer p) { }
}
// In another script of the same object:
// llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); // granted silently

Notes

See also

Implementation notes

Client differences

Comparison with RLVa

This command works differently from RLVa's @acceptpermission; see the comparison.