Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
7 user(s) are online (7 user(s) are browsing encyclopedia)

Members: 0
Guests: 7

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Linden Scripting Language

Linden Scripting Language , or LSL, is the programming language used by players in Second Life, a Massive Multiplayer Online Game by Linden Lab. LSL scripts can control the behavior of in-world objects. LSL has a syntax similar to C programming language. LSL allows objects to interact with the Second Life world and the Internet (via email and XML-RPC).

A sample Hello World Program looks like

default { state_entry() { llSay(0, Hello World! ); } }

Linden Scripting Language is a state-Event-driven programming driven scripting language, it consists of multiple programming states each containing a list of events which may be triggered while the program is within that state. Linden Scripting Language is the only known complete language of this kind.

At time of authoring, there are over 380 library functions available, with the ability for users to declare additional global functions within programs. More than 30 events allow a script to react to various kinds of input such as mouseclicks, keyboard controls, chat, email, or collisions (from the integrated physics engine). LSL is a strongly typed language that is compiled to bytecode before runtime execution in a virtual machine on one of Linden Lab s servers. Second Life 2.0 scheduled for Q1 2006 will use Mono development platform for .net virtual machine and the scripts will be compiled to .net bytecode and run on that.

=External links=

  • [http://www.secondlife.com/ Second Life] official website
  • [http://lindenlab.com/ Linden Lab] official website
  • [http://www.secondlife.com/badgeo LSL Wiki], a community effort to supplement the available Linden Scripting Language documentation
  • [http://secondlife.blogs.com/babbage/2005/08/second_life_in_.html Second Life Blog] Information regarding the move to Mono