llAgentInExperience
Revision as of 19:10, 8 July 2014 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llAgentInExperience( key agent );Caveats
Examples
<lsl>default
{ touch_start(integer total_number) { if(llAgentInExperience(llDetectedKey(0))) { llOwnerSay(llDetectedName(0)+ " is not in my experience"); llRequestExperiencePermissions(llDetectedKey(0), ""); } else { llOwnerSay(llDetectedName(0)+ " is in my experience"); llClearExperiencePermissions(llDetectedKey(0)); } }}</lsl>