Linden Script Language Tutorial

Xah Lee, 2007-01, 2009-03

This page is a brief introduction to Second Life's Linden Scripting Language (LSL). If you don't know what Second Life is, please see: Introduction to Second Life or Wikipedia article Second Life.

You should have played Second Life for a month to start to learn scripting. Also, you should know the basics of 3D-Construction in Second Life. For a introduction of building basics, please see: 3D-Construction Tutorial.

This tutorial is primarily for those who have at least 1 year of programing experience. For example, you should be comfortable with concepts like constants, variables, values, loops, “if then” statements, booleans. If you are a programer, you will find this tutorial concise and to the point.

This tutorial covers only the basics. LSL scripting is mostly experience and trial and error.

Important Concepts

Basic Syntax

Script Structure

Simple Script Examples

Some Detailed Examples

Prim Manipulation

The Particle System

Heads Up Display System

Misc

Emacs xlsl-mode for Linden Scripting Language

Linden Scripting Language Problems

Reference and Acknowledgement

2007-01
© 2007 by Xah Lee.