From Rosetta Code
(Redirected from LSL)
This programming language may be used to instruct a computer to perform a task.

Listed below are all of the tasks on Rosetta Code which have been solved using LSL.

The Linden Scripting Language, usually just called LSL for short, is a language developed by Linden Labs for their Second Life virtual world. LSL allows Second Life objects to sense, respond to events, and interact with the (virtual) world around them, and the Avatars in that world.

Flavors of LSL

There are currently three flavors of the LSL language

  1. LSL compiled under Mono (the most recent)
  2. The original interpreted version (no longer being developed and only exists for backward compatibility)
  3. A largely compatible version of LSL that can run in the OpenSimulator virtual world.


There are two popular web sites documenting LSL

  1. Second Life's own LSL Portal
  2. a user supported LSL Wiki


There exists several open source libraries where users share code

External Editors

There are also many external editors for LSL allowing you to write, syntax check, and (to a limited extent) execute LSL outside of the Second Life environment. You will need to sign up at Second Life and have a Second Life account to execute LSL in the virtual world. Your scripts can exist by themselves in a folder of your inventory, or in an Object in your inventory, but need to be in an Object that is in-world to execute (if an Object containing scripts is taken in to your inventory, the scripts will be suspended and will resume when brought out in to the world again.)