Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Linden Scripting
Language, or LSL, is the programming language used by residents of
Second Life, a virtual world by Linden Lab. LSL has a syntax similar to
C and allows objects to control the behavior of in-world objects of
Second Life from the Internet via email, XML-RPC, and most recently,
HTTP requests. Linden Scripting Language is a state-event driven
scripting language, in the sense of a finite state machine. A script
consists of variables, function definitions, and one or more named
states. Each state contains a description of how to react to events
which occur while the program is within that state. The system sends
events to the script, such as timers, movement, chat, email, and
collisions. Scripts can change most aspects of the state of the object
and communicate with other objects and agents. As soon as a script is
added to an object, and turned on, it begins to execute.