List

Instead of arrays, LSL uses lists. The list type is exactly what it sounds like: a heterogeneous list of the other data types. Lists are created via comma-separated values (CSV) of the other data types. enclosed by square brackets: “[” and “]”....

llAddToLandPassList

llAddToLandPassList(key agent, float hours) Adds agent to the land pass list for the specified number of hours. A value of 0 for hours will add agent indefinitely. The specified agent receives a message: “Alert: You have been issued a pass good for xx...

llAttachToAvatar

llAttachToAvatar(integer attachment) Attaches the scripted object at the specified attachment point to the avatar it has PERMISSION_ATTACH for. Even though users other than the owner can grant this permission, attaching to them will fail with the message “Script...

llAvatarOnSitTarget

key llAvatarOnSitTarget() If an avatar is sitting on the sit target, this function will return the avatar’s key; NULL_KEY otherwise. This will only detect avatars sitting on sit targets defined with llSitTarget. At some point prior to SL 1.6.5, it would...

llDetachFromAvatar

llDetachFromAvatar() Detaches the scripted object from the avatar it’s attached to. Requires PERMISSION_ATTACH (via llRequestPermissions). After detaching, the attach() event hander is called with the value NULL_KEY. Calling this function from a child-prim will...