Experience permissions

From Second Life Wiki
Jump to: navigation, search

Description

Event: experience_permissions( key agent_id ){ ; }

The agent has approved an experience permissions request. This may be through interaction with the experience permission dialog or the experience profile, or automatically if the agent has previously approved the experience.

• key agent_id avatar UUID approving permission

Examples

default
{
    touch_start(integer total_number)
    {
        llRequestExperiencePermissions(llDetectedKey(0), "");
    }
 
    experience_permissions(key agent_id)
    {
        llSay(0, "Experience permissions granted for " + (string)agent_id);
    }
 
    experience_permissions_denied(key agent_id, integer reason)
    {
        llSay(0, "Experience permissions denied for " + (string)agent_id + " due to reason #" + (string)reason);
    }
}

Deep Notes

Signature

event void experience_permissions( key agent_id );