G General

security script

security script
Details
Features
Contents
Reviews

This script is a starter script for a Second Life object that reacts to a touch. It uses the "touch_start" event to detect when someone touches the object. When this happens, it uses the llDetectedKey() function to get the key of the avatar that touched the object, and then uses the llGetOwner() function to get the key of the object's owner. It then uses an "if" statement to check if the avatar that touched the object is the owner of the object. If not, it uses the llSay() function to make the object say "You are not authorized to touch this object." to the avatar that touched it.

  • script
  • Second Life
  • Touch
  • Object
  • Authorization