Category:LSL: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "{{stub}}{{language}}")
 
(Initial)
Line 1: Line 1:
The [http://en.wikipedia.org/wiki/Linden_Scripting_Language '''Linden Scripting Language'''], usually just called '''LSL''' for short, is a language developed by [http://en.wikipedia.org/wiki/Linden_Lab Linden Labs] for their [http://en.wikipedia.org/wiki/Second_Life 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.
{{stub}}{{language}}

==Flavors of LSL==
There are currently three flavors of the LSL language
# LSL compiled under [http://en.wikipedia.org/wiki/Mono_(software) Mono] (the most recent)
# The original interpreted version (no longer being developed and only exists for backward compatibility)
# A largely compatible version of LSL that can run in the [http://en.wikipedia.org/wiki/OpenSimulator OpenSimulator] virtual world.

==Documentation==
There are two popular web sites documenting LSL
# Second Life's own [http://wiki.secondlife.com/wiki/LSL_Portal LSL Portal]
# a user supported [http://lslwiki.net/lslwiki/wakka.php LSL Wiki]

==Libraries==
There exists several open source libraries where users share code
* [http://community.secondlife.com/t5/LSL-Scripting-Library/bd-p/LSLScriptingLibrary LSL Scripting Library]
* [http://wiki.secondlife.com/wiki/Category:LSL_Examples LSL Examples]
* [http://www.free-lsl-scripts.com/cgi/freescripts.plx Free LSL Scripts]
* [http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting LSL Scripting]

==External Editors==
There are also many [http://wiki.secondlife.com/wiki/LSL_Alternate_Editors 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 [http://secondlife.com 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.)

Revision as of 15:39, 7 July 2012

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.

Documentation

There are two popular web sites documenting LSL

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

Libraries

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.)