Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Second Life Scripting Tutorial

Loading...

Sign in or sign up now!
20,575
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 29, 2008

Basic tutorial on Linden Scripting Language aimed at viewers WHO HAVE SOME PROGRAMMING EXPERIENCE.

// Script

list answers = [
"yes",
"it is certain",
"no",
"absolutely not"
];

string generateAnswer()
{ integer answerIndex = (integer) llFrand(llGetListLength(answers)); return llList2String(answers, answerIndex);
}

default
{ touch_start(integer total_number) { llOwnerSay(generateAnswer()); }
}

  • likes, 2 dislikes

Link to this comment:

Share to:

Top Comments

  • You might be in America but the the rest of the world isn't and more than the U.S uses YouTube lol, idiot.

    As for the video, unfortunately is isn't real helpful for true newbies, but thanks anyway mate :)

  • Thanks for this video Steven. Very well done. Right to the point and not basic like so many of the videos out there. I hope you can put more up, especially with education in mind.

see all

All Comments (34)

Sign In or Sign Up now to post a comment!
  • The Dude abides

  • thank you sir tthis has been very helpful and for those who ask' yes, scripting is very hard. but only sometimes and only if you let it be hard. don't limit yourself on anything. well tc all

  • scripting is not easy/phew

  • dude u need to add me on sl and tell me while i do i wanna work for this place and i need to know how to make a script plz reply

  • you scotish

  • VERY thick accent lol. I miss the old way you right clicked prims in SL, now it just comes with a box, now a circle...

  • i dont get it it sayng at the part where it says llOwnersay it says that its a sytex or something error can you tell me whats wrong

  • You sound like Soap from COD

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more