Determines whether or not the specified agent is in the script's experience.
integer llAgentInExperience( key agent );
Returns a boolean (an integer) that is TRUE if the agent is in the experience and the experience can run in the current region.
default
{
touch_start(integer total_number)
{
if(llAgentInExperience(llDetectedKey(0)))
{
llOwnerSay(llDetectedName(0)+ " is in my experience");
}
else
{
llOwnerSay(llDetectedName(0)+ " is not in my experience");
}
}
}