Script sample 2


WEB LINK - This short script allows you to turn an object in Second Life into a Web link. The user right clicks on the object and chooses 'Touch' from the menu. This opens a panel giving the option to go to that Web site.

 

//---------------------------------------------------

// Modified by Doktor Tammas

//To modify this, just replace the URL below. Be sure to include the 'http://'

 

default { 

touch_start(integer total_number) { 

llLoadURL(llDetectedKey(0), "Name of Site", "http://www.apple.com");