Scripting
LSL Guide
Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.
300 results for “L”
Returns the absolute (positive) version of Value.
Returns the arc-cosine of Value, in radians.
Add avatar ID to the parcel ban list for the specified number of Hours.\ A value of 0 for Hours will add the agent indefinitely.\ The smallest value that Hours will accept is 0.01; anything smaller will be seen as 0.\ When values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\ Residents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.
Add avatar ID to the land pass list, for a duration of Hours.
Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\ This function has no effect on sounds started with llTriggerSound.
Returns TRUE if the agent is in the Experience and the Experience can run in the current location.
If Flag == TRUE, users without object modify permissions can still drop inventory items into the object.
Returns the angle, in radians, between rotations Rot1 and Rot2.
Applies impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.
Applies rotational impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.
Returns the arc-sine, in radians, of Value.
Returns the arc-tangent2 of y, x.
Attach to avatar at point AttachmentPoint.\ Requires the PERMISSION_ATTACH runtime permission.
Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\ Returns a key that is the UUID of the user seated on the specified link's prim.
If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\ This only will detect avatars sitting on sit targets defined with llSitTarget.
Returns the rotation represented by coordinate axes Forward, Left, and Up.
Returns the rotation that is a generated Angle about Axis.
Returns an integer that is the Text, Base64 decoded as a big endian integer.\ Returns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.
Converts a Base64 string to a conventional string.\ If the conversion creates any unprintable characters, they are converted to question marks.
De-links all prims in the link set (requires permission PERMISSION_CHANGE_LINKS be set).
De-links the prim with the given link number (requires permission PERMISSION_CHANGE_LINKS be set).
Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\ Reports collision data for intersections with objects.\ Return value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.
Returns smallest integer value >= Value.
No description recorded yet.
Resets all camera parameters to default values and turns off scripted camera control.
Clears (deletes) the media and all parameters from the given Face on the linked prim.\ Returns an integer that is a STATUS_* flag, which details the success/failure of the operation.
Clears (deletes) the media and all parameters from the given Face.\ Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
Closes the specified XML-RPC channel.
Returns the cloud density at the object's position + Offset.
Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.
Suppress default collision sounds, replace default impact sounds with ImpactSound.\ The ImpactSound must be in the object inventory.\ Supply an empty string to suppress collision sounds.
Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).
No description recorded yet.
Returns the cosine of Theta (Theta in radians).
Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.
Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\ Requires permission PERMISSION_CHANGE_LINKS be set.
Create a list from a string of comma separated values specified in Text.
Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.
Starts an asychronous transaction to delete a key-value pair. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value associated with the key.
Removes the slice from start to end and returns the remainder of the list.\ Remove a slice from the list and return the remainder, start and end are inclusive.\ Using negative numbers for start and/or end causes the index to count backwards from the length of the list, so 0, -1 would delete the entire list.\ If Start is larger than End the list deleted is the exclusion of the entries; so 6, 4 would delete the entire list except for the 5th. list entry.
Removes the indicated sub-string and returns the result.\ Start and End are inclusive.\ Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would delete the entire string.\ If Start is larger than End, the sub-string is the exclusion of the entries; so 6, 4 would delete the entire string except for the 5th. character.
No description recorded yet.
Remove the object containing the script from the avatar.
Returns the grab offset of a user touching the object.\ Returns <0.0, 0.0, 0.0> if Number is not a valid object.
Returns TRUE if detected object or agent Number has the same user group active as this object.\ It will return FALSE if the object or agent is in the group, but the group is not active.
Returns the key of detected object or avatar number.\ Returns NULL_KEY if Number is not a valid index.
Returns the link position of the triggered event for touches and collisions only.\ 0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.
Returns the name of detected object or avatar number.\ Returns the name of detected object number.\ Returns empty string if Number is not a valid index.
Returns the key of detected object's owner.\ Returns invalid key if Number is not a valid index.
Returns the position of detected object or avatar number.\ Returns <0.0, 0.0, 0.0> if Number is not a valid index.
Returns the rotation of detected object or avatar number.\ Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.
Returns the surface bi-normal for a triggered touch event.\ Returns a vector that is the surface bi-normal (tangent to the surface) where the touch event was triggered.
Returns the index of the face where the avatar clicked in a triggered touch event.
Returns the surface normal for a triggered touch event.\ Returns a vector that is the surface normal (perpendicular to the surface) where the touch event was triggered.
Returns the position, in region coordinates, where the object was touched in a triggered touch event.\ Unless it is a HUD, in which case it returns the position relative to the attach point.
Returns a vector that is the surface coordinates where the prim was touched.\ The X and Y vector positions contain the horizontal (S) and vertical (T) face coordinates respectively.\ Each component is in the interval [0.0, 1.0].\ TOUCH_INVALID_TEXCOORD is returned if the surface coordinates cannot be determined (e.g. when the viewer does not support this function).
Returns a vector that is the texture coordinates for where the prim was touched.\ The X and Y vector positions contain the U and V face coordinates respectively.\ TOUCH_INVALID_TEXCOORD is returned if the touch UV coordinates cannot be determined (e.g. when the viewer does not support this function).
Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\ Returns 0 if number is not a valid index.\ Note that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:\ integer iType = llDetectedType(0);\ {\ // ...do stuff with the agent\ }
Returns the velocity of the detected object Number.\ Returns<0.0, 0.0, 0.0> if Number is not a valid offset.
Shows a dialog box on the avatar's screen with the message.\ Up to 12 strings in the list form buttons.\ If a button is clicked, the name is chatted on Channel.\ Opens a "notify box" in the given avatars screen displaying the message.\ Up to twelve buttons can be specified in a list of strings. When the user clicks a button, the name of the button is said on the specified channel.\ Channels work just like llSay(), so channel 0 can be heard by everyone.\ The chat originates at the object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\ Examples:\ llDialog(who, "Are you a boy or a girl?", [ "Boy", "Girl" ], -4913);\ llDialog(who, "This shows only an OK button.", [], -192);\ llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);
Delete the object which holds the script.
Returns the list as a single string, using Separator between the entries.\ Write the list out as a single string, using Separator between values.
Checks to see whether the border hit by Direction from Position is the edge of the world (has no neighboring region).\ Returns TRUE if the line along Direction from Position hits the edge of the world in the current simulator, returns FALSE if that edge crosses into another simulator.
Ejects AvatarID from land that you own.\ Ejects AvatarID from land that the object owner (group or resident) owns.
Sends email to Address with Subject and Message.\ Sends an email to Address with Subject and Message.
Returns an escaped/encoded version of url, replacing spaces with %20 etc.\ Returns the string that is the URL-escaped version of URL (replacing spaces with %20, etc.).\ This function returns the UTF-8 encoded escape codes for selected characters.
Returns the rotation representation of the Euler angles.\ Returns the rotation represented by the Euler Angle.
Returns the positive version of Value.\ Returns the absolute value of Value.
Returns largest integer value <= Value.
If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\ After calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.\ Just like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable it.
Returns a pseudo random number in the range [0, Magnitude] or [Magnitude, 0].\ Returns a pseudo-random number between [0, Magnitude].
Generates a key (SHA-1 hash) using UUID generation to create a unique key.\ As the UUID produced is versioned, it should never return a value of NULL_KEY.\ The specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
Returns the acceleration of the object relative to the region's axes.\ Gets the acceleration of the object.
Returns an integer bit-field containing the agent information about id.\ Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.\ Returns information about the given agent ID as a bit-field of agent info constants.
Returns the language code of the preferred interface language of the avatar.\ Returns a string that is the language code of the preferred interface language of the resident.
Requests a list of agents currently in the region, limited by the scope parameter.\ Returns a list [key UUID-0, key UUID-1, ..., key UUID-n] or [string error_msg] - returns avatar keys for all agents in the region limited to the area(s) specified by scope
If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.\ If the agent is in the same region as the object, returns the size of the avatar.
Returns the alpha value of Face.\ Returns the 'alpha' of the given face. If face is ALL_SIDES the value returned is the mean average of all faces.
Returns the script time in seconds and then resets the script timer to zero.\ Gets the time in seconds since starting and resets the time to zero.
Returns the name of the currently playing locomotion animation for the avatar id.\ Returns the currently playing animation for the specified avatar ID.
Returns a list of keys of playing animations for an avatar.\ Returns a list of keys of all playing animations for the specified avatar ID.
Returns a string that is the name of the animation that is used for the specified animation state\ To use this function the script must obtain either the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION permission (automatically granted to attached objects).
Returns the object's attachment point, or 0 if not attached.
Returns a list of keys of all visible (not HUD) attachments on the avatar identified by the ID argument
Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ].
No description recorded yet.
No description recorded yet.
Returns the current camera position for the agent the task has permissions for.\ Returns the position of the camera, of the user that granted the script PERMISSION_TRACK_CAMERA. If no user has granted the permission, it returns ZERO_VECTOR.
Returns the current camera orientation for the agent the task has permissions for. If no user has granted the PERMISSION_TRACK_CAMERA permission, returns ZERO_ROTATION.
Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
Returns the color on Face.\ Returns the color of Face as a vector of red, green, and blue values between 0 and 1. If face is ALL_SIDES the color returned is the mean average of each channel.
Returns a key for the creator of the prim.\ Returns the key of the object's original creator. Similar to llGetOwner.
Returns the current date in the UTC time zone in the format YYYY-MM-DD.\ Returns the current UTC date as YYYY-MM-DD.
No description recorded yet.
No description recorded yet.
Returns the display name of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestDisplayName if the avatar may be absent from the region.
Returns how much energy is in the object as a percentage of maximum.
Returns a string with the requested data about the region.
Returns a list with the following Experience properties: [Experience Name, Owner ID, Group ID, Experience ID, State, State Message]. State is an integer corresponding to one of the constants XP_ERROR_... and State Message is the string returned by llGetExperienceErrorMessage for that integer.
Returns a string describing the error code passed or the string corresponding with XP_ERROR_UNKNOWN_ERROR if the value is not a valid Experience error code.
Returns the force (if the script is physical).\ Returns the current force if the script is physical.
Returns the number of free bytes of memory the script can use.\ Returns the available free space for the current script. This is inaccurate with LSO.
Returns the number of available URLs for the current script.\ Returns an integer that is the number of available URLs.
Returns the vector that is the geometric center of the object relative to the root prim.
Returns the time in seconds since midnight GMT.\ Gets the time in seconds since midnight in GMT/UTC.
No description recorded yet.
Returns the value for header for request_id.\ Returns a string that is the value of the Header for HTTPRequestID.
No description recorded yet.
Returns a key for the creator of the inventory item.\ This function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".
No description recorded yet.
Returns the key that is the UUID of the inventory named.\ Returns the key of the inventory named.
Returns the name of the inventory item of a given type, specified by index number.\ Use the inventory constants INVENTORY_* to specify the type.
Returns the quantity of items of a given type (INVENTORY_* flag) in the prim's inventory.\ Use the inventory constants INVENTORY_* to specify the type.
Returns the requested permission mask for the inventory item.\ Returns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named '<item>'", where "<item>" is item.
Returns the type of the named inventory item.\ Like all inventory functions, llGetInventoryType is case-sensitive.
Returns the key of the prim the script is attached to.\ Get the key for the object which has this script.
Returns the key of the land owner, returns NULL_KEY if public.\ Returns the key of the land owner at Position, or NULL_KEY if public.
Returns the key of the linked prim LinkNumber.\ Returns the key of LinkNumber in the link set.
Get the media parameters for a particular face on linked prim, given the desired list of parameter names. Returns a list of values in the order requested. Returns an empty list if no media exists on the face.
Returns the name of LinkNumber in a link set.\ Returns the name of LinkNumber the link set.
Returns the link number of the prim containing the script (0 means not linked, 1 the prim is the root, 2 the prim is the first child, etc.).\ Returns the link number of the prim containing the script. 0 means no link, 1 the root, 2 for first child, etc.
Returns the number of sides of the specified linked prim.\ Returns an integer that is the number of faces (or sides) of the prim link.
Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\ PRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\ * Supplying a prim or object flag will return that flags attributes.\ * Face flags require the user to also supply a face index parameter.
No description recorded yet.
Returns the type of the index entry in the list (TYPE_INTEGER, TYPE_FLOAT, TYPE_STRING, TYPE_KEY, TYPE_VECTOR, TYPE_ROTATION, or TYPE_INVALID if index is off list).\ Returns the type of the variable at Index in ListVariable.
Returns the number of elements in the list.\ Returns the number of elements in ListVariable.
Returns the position relative to the root.\ Returns the local position of a child object relative to the root.
Returns the rotation local to the root.\ Returns the local rotation of a child object relative to the root.
Returns the mass of object that the script is attached to.\ Returns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own.
Acts as llGetMass(), except that the units of the value returned are Kg.
Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
Get the maximum memory a script can use, in bytes.
Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.
No description recorded yet.
No description recorded yet.
Fetch the next queued email with that matches the given address and/or subject, via the email event.\ If the parameters are blank, they are not used for filtering.
Returns LineNumber from NotecardName via the dataserver event. The line index starts at zero.\ If the requested line is passed the end of the note-card the dataserver event will return the constant EOF string.\ The key returned by this function is a unique identifier which will be supplied to the dataserver event in the requested parameter.
No description recorded yet.
Returns the number of lines contained within a notecard via the dataserver event.\ The key returned by this function is a query ID for identifying the dataserver reply.
Returns the number of prims in a link set the script is attached to.\ Returns the number of prims in (and avatars seated on) the object the script is in.
Returns the number of faces (or sides) of the prim.\ Returns the number of sides of the prim which has the script.
No description recorded yet.
Returns the description of the prim the script is attached to.\ Returns the description of the scripted object/prim. You can set the description using llSetObjectDesc.
Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\ Parameters are specified by the OBJECT_* constants.
No description recorded yet.
Returns the mass of the avatar or object in the region.\ Gets the mass of the object or avatar corresponding to ID.
Returns the name of the prim which the script is attached to.\ Returns the name of the prim (not object) which contains the script.
Returns the permission mask of the requested category for the object.
Returns the total number of prims for an object in the region.\ Returns the prim count for any object id in the same region.
Returns the rotation velocity in radians per second.\ Returns a vector that is the rotation velocity of the object in radians per second.
Returns the object owner's UUID.\ Returns the key for the owner of the object.
Returns the owner of ObjectID.\ Returns the key for the owner of object ObjectID.
Returns a list of parcel details specified in the ParcelDetails list for the parcel at Position.\ Parameters is one or more of: PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA, _ID, _SEE_AVATARS.\ Returns a list that is the parcel details specified in ParcelDetails (in the same order) for the parcel at Position.
Returns a mask of the parcel flags (PARCEL_FLAG_*) for the parcel that includes the point Position.\ Returns a bit-field specifying the parcel flags (PARCEL_FLAG_*) for the parcel at Position.
Returns the maximum number of prims allowed on the parcel at Position for a given scope.\ The scope may be set to an individual parcel or the combined resources of all parcels with the same ownership in the region.
Gets the streaming audio URL for the parcel object is on.\ The object owner, avatar or group, must also be the land owner.
Returns the number of prims on the parcel at Position of the given category.\ Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\ Returns the number of prims used on the parcel at Position which are in Category.\ If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\ If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\ Requires owner-like permissions for the parcel, and for the script owner to be present in the region.\ The list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\ The integers are the combined land impacts of the objects owned by the corresponding agents.
Returns an integer bitmask of the permissions that have been granted to the script. Individual permissions can be determined using a bit-wise "and" operation against the PERMISSION_* constants
Returns the key of the avatar that last granted or declined permissions to the script.\ Returns NULL_KEY if permissions were never granted or declined.
Returns a list of the form [float gravity_multiplier, float restitution, float friction, float density].
Returns the position of the task in region coordinates.\ Returns the vector position of the task in region coordinates.
Returns the primitive parameters specified in the parameters list.\ Returns primitive parameters specified in the Parameters list.
Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.
Returns the number of avatars in the region.\ Returns an integer that is the number of avatars in the region.
Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\ Returns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.
No description recorded yet.
No description recorded yet.
Returns the region flags (REGION_FLAG_*) for the region the object is in.\ Returns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in.
Returns the mean region frames per second.
No description recorded yet.
No description recorded yet.
Returns the current region name.
No description recorded yet.
No description recorded yet.
Returns the current time dilation as a float between 0.0 (full dilation) and 1.0 (no dilation).\ Returns the current time dilation as a float between 0.0 and 1.0.
Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\ This is used to allow a child prim to determine where the root is.
Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\ Gets the global rotation of the root object of the object script is attached to.
Returns the rotation relative to the region's axes.\ Returns the rotation.
Returns the scale of the prim.\ Returns a vector that is the scale (dimensions) of the prim.
Returns the name of the script that this function is used in.\ Returns the name of this script.
Returns TRUE if the script named is running.\ Returns TRUE if ScriptName is running.
Returns a float that is the requested statistic.
Returns the host-name of the machine which the script is running on.\ For example, "sim225.agni.lindenlab.com".
Returns the maximum used memory for the current script. Only valid after using PROFILE_SCRIPT_MEMORY. Non-mono scripts always use 16k.\ Returns the integer of the most bytes used while llScriptProfiler was last active.
Returns an integer that is the script rez parameter.\ If the object was rezzed by an agent, this function returns 0.
No description recorded yet.
Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to.
Returns a sub-string from String, in a range specified by the Start and End indicies (inclusive).\ Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\ If Start is greater than End, the sub string is the exclusion of the entries.
Returns a normalized vector of the direction of the sun in the region.\ Returns the sun's direction on the simulator.
No description recorded yet.
Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\ Returns the texture of a face, if it is found in object inventory, its key otherwise.
Returns the texture offset of face in the x and y components of a vector.
Returns the texture rotation of side.
Returns the texture scale of side in the x and y components of a vector.\ Returns the texture scale of a side in the x and y components of a vector.
Returns the time in seconds since the last region reset, script reset, or call to either llResetTime or llGetAndResetTime.
Returns the time in seconds since Second Life midnight or since region up-time, whichever is smaller.\ The Second Life day cycle is 4 hours.
Returns a time-stamp (UTC time zone) in the format: YYYY-MM-DDThh:mm:ss.ff..fZ.
Returns the torque (if the script is physical).\ Returns a vector that is the torque (if the script is physical).
Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.
Returns the current used memory for the current script. Non-mono scripts always use 16K.\ Returns the integer of the number of bytes of memory currently in use by the script. Non-mono scripts always use 16K.
Returns the username of an avatar, if the avatar is connected to the current region, or if the name has been cached. Otherwise, returns an empty string. Use llRequestUsername if the avatar may be absent from the region.
Returns the velocity of the object.\ Returns a vector that is the velocity of the object.
No description recorded yet.
Returns the time in seconds since midnight California Pacific time (PST/PDT).\ Returns the time in seconds since simulator's time-zone midnight (Pacific Time).
Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\ TargetID may be any agent or an object in the same region.
Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\ TargetID may be any agent or an object in the same region. If TargetID is an object, the items are passed directly to the object inventory (no folder is created).
Transfers Amount of L$ from script owner to AvatarID.\ This call will silently fail if PERMISSION_DEBIT has not been granted.
Rez directly off of a UUID if owner has god-bit set.
Returns the ground height at the object position + offset.\ Returns the ground height at the object's position + Offset.
Returns the ground contour direction below the object position + Offset.\ Returns the ground contour at the object's position + Offset.
Returns the ground normal below the object position + offset.\ Returns the ground contour at the object's position + Offset.
Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).\ Critically damps to fHeight if within fHeight * 0.5 of ground or water level.\ The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\ Do not use with vehicles. Only works in physics-enabled objects.
Returns the ground slope below the object position + Offset.\ Returns the ground slope at the object position + Offset.
No description recorded yet.
No description recorded yet.
Sends an HTTP request to the specified URL with the Body of the request and Parameters.\ Returns a key that is a handle identifying the HTTP request made.
Responds to an incoming HTTP request which was triggerd by an http_request event within the script. HTTPRequestID specifies the request to respond to (this ID is supplied in the http_request event handler). Status and Body specify the status code and message to respond with.
Inserts SourceVariable into TargetVariable at Position, and returns the result.\ Inserts SourceVariable into TargetVariable at Position and returns the result. Note this does not alter TargetVariable.
IMs Text to the user identified.\ Send Text to the user as an instant message.
Returns a string that is a Base64 big endian encode of Value.\ Encodes the Value as an 8-character Base64 string.
No description recorded yet.
Converts the top level of the JSON string to a list.
Gets the value indicated by Specifiers from the JSON string.
Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.
Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.
Returns the name of the prim or avatar specified by ID. The ID must be a valid rezzed prim or avatar key in the current simulator, otherwise an empty string is returned.\ For avatars, the returned name is the legacy name
Starts an asychronous transaction the request the number of keys in the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will the the number of keys in the system.
Starts an asychronous transaction the request a number of keys from the data store. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. The error XP_ERROR_KEY_NOT_FOUND is returned if First is greater than or equal to the number of keys in the data store. In the success case the subsequent items will be the keys requested. The number of keys returned may be less than requested if the return value is too large or if there is not enough keys remaining. The order keys are returned is not guaranteed but is stable between subsequent calls as long as no keys are added or removed. Because the keys are returned in a comma-delimited list it is not recommended to use commas in key names if this function is used.
No description recorded yet.
No description recorded yet.
Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\ List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\ This is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
No description recorded yet.
Set the sit location for the linked prim(s). If Offset == <0,0,0> clear it.\ Set the sit location for the linked prim(s). The sit location is relative to the prim's position and rotation.
No description recorded yet.
Creates a string of comma separated values from the list.\ Create a string of comma separated values from the specified list.
Copies the float at Index in the list.\ Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a float, then zero is returned.
Copies the integer at Index in the list.\ Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to an integer, then zero is returned.
Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.
Copies the key at Index in the list.\ Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a key, then null string is returned.
Returns a subset of entries from ListVariable, in a range specified by the Start and End indicies (inclusive).\ Using negative numbers for Start and/or End causes the index to count backwards from the length of the string, so 0, -1 would capture the entire string.\ If Start is greater than End, the sub string is the exclusion of the entries.
No description recorded yet.
Copies the strided slice of the list from Start to End.\ Returns a copy of the strided slice of the specified list from Start to End.
Copies the rotation at Index in the list.\ Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to rotation, thenZERO_ROTATION is returned.
Copies the string at Index in the list.\ Returns the value at Index in the specified list as a string. If Index describes a location not in the list then null string is returned.
Copies the vector at Index in the list.\ Returns the value at Index in the specified list. If Index describes a location not in the list, or the value cannot be type-cast to a vector, then ZERO_VECTOR is returned.
Creates a listen callback for Text on Channel from SpeakersName and SpeakersID (SpeakersName, SpeakersID, and/or Text can be empty) and returns an identifier that can be used to deactivate or remove the listen.\ Non-empty values for SpeakersName, SpeakersID, and Text will filter the results accordingly, while empty strings and NULL_KEY will not filter the results, for string and key parameters respectively.\ PUBLIC_CHANNEL is the public chat channel that all avatars see as chat text. DEBUG_CHANNEL is the script debug channel, and is also visible to nearby avatars. All other channels are are not sent to avatars, but may be used to communicate with scripts.
Makes a listen event callback active or inactive. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener you are controlling.\ Use boolean values to specify Active
Removes a listen event callback. Pass in the value returned from llListen to the iChannelHandle parameter to specify which listener to remove.
Returns the index of the first instance of Find in ListVariable. Returns -1 if not found.\ Returns the position of the first instance of the Find list in the ListVariable. Returns -1 if not found.
No description recorded yet.
No description recorded yet.
Returns a list that contains all the elements from Target but with the elements from ListVariable inserted at Position start.\ Returns a new list, created by inserting ListVariable into the Target list at Position. Note this does not alter the Target.
Returns a version of the input ListVariable which has been randomized by blocks of size Stride.\ If the remainder from the length of the list, divided by the stride is non-zero, this function does not randomize the list.
Returns a list that is Target with Start through End removed and ListVariable inserted at Start.\ Returns a list replacing the slice of the Target list from Start to End with the specified ListVariable. Start and End are inclusive, so 0, 1 would replace the first two entries and 0, 0 would replace only the first list entry.
Returns the specified list, sorted into blocks of stride in ascending order (if Ascending is TRUE, otherwise descending). Note that sort only works if the first entry of each block is the same datatype.
No description recorded yet.
Performs a statistical aggregate function, specified by a LIST_STAT_* constant, on ListVariables.\ This function allows a script to perform a statistical operation as defined by operation on a list composed of integers and floats.
Shows dialog to avatar AvatarID offering to load web page at URL. If user clicks yes, launches their web browser.\ llLoadURL displays a dialogue box to the user, offering to load the specified web page using the default web browser.
Returns the natural logarithm of Value. Returns zero if Value <= 0.\ Returns the base e (natural) logarithm of the specified Value.
Returns the base 10 logarithm of Value. Returns zero if Value <= 0.\ Returns the base 10 (common) logarithm of the specified Value.
Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\ Good Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.\ Asymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.
Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\ Only one sound may be attached to an object at a time.\ A second call to llLoopSound with the same key will not restart the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\ Setting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\ To restart the sound from the beginning, call llStopSound before calling llLoopSound again.
Plays attached Sound, looping at volume (0.0 - 1.0), and declares it a sync master.\ Behaviour is identical to llLoopSound, with the addition of marking the source as a "Sync Master", causing "Slave" sounds to sync to it. If there are multiple masters within a viewers interest area, the most audible one (a function of both distance and volume) will win out as the master.\ The use of multiple masters within a small area is unlikely to produce the desired effect.
Plays attached sound looping at volume (0.0 - 1.0), synced to most audible sync master.\ Behaviour is identical to llLoopSound, unless there is a "Sync Master" present.\ If a Sync Master is already playing the Slave sound will begin playing from the same point the master is in its loop synchronizing the loop points of both sounds.\ If a Sync Master is started when the Slave is already playing, the Slave will skip to the correct position to sync with the Master.
Make a round explosion of particles. Deprecated: Use llParticleSystem instead.\ Make a round explosion of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
Make fire like particles. Deprecated: Use llParticleSystem instead.\ Make fire particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
Make a fountain of particles. Deprecated: Use llParticleSystem instead.\ Make a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
Make smoke like particles. Deprecated: Use llParticleSystem instead.\ Make smoky particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.
Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\ Returns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\ The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.
Opens world map for avatar who touched is is wearing the script, centred on RegionName with Position highlighted. Only works for scripts attached to avatar, or during touch events.\ Direction currently has no effect.
Returns a string of 32 hex characters that is an RSA Data Security Inc., MD5 Message-Digest Algorithm of Text with Nonce used as the salt.\ Returns a 32-character hex string. (128-bit in binary.)
Sends Number, Text, and ID to members of the link set identified by LinkNumber.\ LinkNumber is either a linked number (available through llGetLinkNumber) or a LINK_* constant.
Set the minimum time between events being handled.
Modify land with action (LAND_LEVEL, LAND_RAISE, LAND_LOWER, LAND_SMOOTH, LAND_NOISE, LAND_REVERT) on size (0, 1, 2, corresponding to 2m x 2m, 4m x 4m, 8m x 8m).
Returns a Value raised to the Power, mod Modulus. ((a**b)%c) b is capped at 0xFFFF (16 bits).\ Returns (Value ^ Power) % Modulus. (Value raised to the Power, Modulus). Value is capped at 0xFFFF (16 bits).
Critically damp to Target in Tau seconds (if the script is physical).\ Critically damp to position target in tau-seconds if the script is physical. Good tau-values are greater than 0.2. A tau of 0.0 stops the critical damping.
No description recorded yet.
Sets the texture S and T offsets for the chosen Face.\ If Face is ALL_SIDES this function sets the texture offsets for all faces.
Requests a channel to listen for XML-RPC calls. (Deprecated: XML-RPC should not be used. Use http-in instead.)\ Will trigger a remote_data event with type = REMOTE_DATA_CHANNEL and a channel ID (key) once it is available.\ This channel ID must be referenced in the XML-RPC call to the script (from the internet) -- so the key must somehow get to the external XML-RPC client.
No description recorded yet.
Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\ Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.
says Text to owner only (if owner is in region).\ Says Text to the owner of the object running the script, if the owner has been within the object's simulator since logging into Second Life, regardless of where they may be in-world.
Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.