| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions! Dokkio, a new product from the PBworks team, integrates and organizes your Drive, Dropbox, Box, Slack and Gmail files. Sign up for free.

View
 

LSL: Linden Scripting Language

Page history last edited by Randall Sadler 11 years ago

Do you really need to know how to use Linden Scripting Language?  The simple answer is...no!  There are many scripts that already exist in SL that are freely available, and more are constantly being creative.  However, you do at least need to know "how" to use scripts.  In addition, knowing how to do some simple modifications of existing scripts will make your SL more interesting and productive!!

 

This scripting workshop will take place primarily in-world.  However, below you can find some links to:

 

In-World Resources

Internet Resources

Video Tutorials

 


Links to In-World Scripting Resources:

For the SLurls (Second Life URLs) you'll find below, have Second Life open in the background.  When you click on the SLurl, it will bring up a new webpage.  Click on the "teleport" button and it will open up a landmark on your Second Life screen.

 

College of Scripting, Music, and Science

 If you would like to learn a lot about scripting in Second Life, this may be the location for you.  The college is located in an 8-level building, with the first level containing information about "basic scripting," with each succeeding level working up to the 8th level, which covers "rotations & pi math."  Each level contains detail information and illustration for how to perform a variety of scripting functions.

 http://slurl.com/secondlife/Horsa/45/243/84

 

Second Life Free Script Library

If you don't really want to create your own scripts from scratch (and who can blame you for that?), this location provides a large number of scripts for free.  These range from the educational (SLurl maker, news in world) to the purely fun (the ever popular "talk like a pirate" script)! 

 http://slurl.com/secondlife/Nimnam/233/78/601

 

IBM Codestation

 Yes, that is "the" IBM.  At their site they provide a number of free scripts, many of which have potential educational applications.  In the building opposite the script location there are also some free objects that many will find useful

 http://slurl.com/secondlife/IBM CODESTATION/125/30/43

 

EduNation

 At EduNation (and at the campuses for a variety of other education-focused islands) you can often find scripts for free that are directly related to education.  These might include scripts for using youtube videos or blogs in SL, to scripts for doing SL powerpoint presentation (or something quite similar, at least!).

 http://slurl.comh/secondlife/EduNation II/143/214/24

 

Info Island ICT LIbrary

Over 50 education-related scripts ranging from highlight boards to flickr scripts. 

http://slurl.com/secondlife/Info Island/44/220/33

 


Links to Internet-Based Scripting Resources:

 

Autoscripter

This page can create a number of common scripts for you by just clicking a few choices!

http://www.3greeneggs.com/autoscript/

 

SimTeach Scripts

Some education focused scripts.

http://www.simteach.com/wiki/index.php?title=Scripts

 

Linden Scripting Language (LSL) Portal

The offical portal that introduces LSL

http://wiki.secondlife.com/wiki/LSL_Portal

 

Scratch for Second Life (S4SL)

This is a downloadable tool that allows users to create custom scripts through a graphical interface.  With this system you just drag graphical blocks together to illustrate what you wish to do and the script is generated for you!

http://web.mit.edu/~eric_r/Public/S4SL/

 


 Script Tutorials on Video:

 

URL script

This simple script will let you put a URL into an object in Second Life so that when the object is clicked, it will open the webpage.

 

YouTube plugin error

Direct link: http://youtube.com/watch?v=EENiLti8Ohk

 

Here is a URL script like discussed in the video:

//replace the URL immediately below with your own.

 

string Url = "http://www.com";

 

default {

on_rez(integer start_param) {

llResetScript();

}

touch_start(integer total_number) {

llLoadURL(llDetectedKey(0), "Click to go to url", Url);

}

dataserver(key queryid, string data) {

Url = "https://www..com" + llEscapeURL(data);

}

 

 

Notecard Script

Another simple script that helps you give out a notecard that you've put in an object.

 

YouTube plugin error

 

Direct link: http://www.youtube.com/watch?v=N-K-hgZg76c

 

And here is the script discussed in the video:

 integer x;

default

{

touch_start(integer total_number)

{

for(x = 0; x < total_number; x++)

llGiveInventory(llDetectedKey(x), llGetInventoryName(INVENTORY_NOTECARD, 0));

}


 


 

 

Comments (0)

You don't have permission to comment on this page.