Difference between revisions of "Load URL"

From Second Life Wiki
Jump to navigation Jump to search
(New page: == What it does == Change the URL inside the script and put it inside a prim so that when it is touched a dialog will pop up and you can visit the URL inside the script. Good for stores, ...)
 
(script doesn't appear to do anything unique, moving to llLoadURL examples section)
 
Line 1: Line 1:
== What it does ==
#REDIRECT [[llLoadURL]]
 
Change the URL inside the script and put it inside a prim so that when it is touched a dialog will pop up and you can visit the URL inside the script. Good for stores, blogs, ATM's and such.
 
<lsl>//Emmas Seetan
//21 September 17:06
string text = "Visit the Second Life Wiki!"; //Floating text
string url = "https://wiki.secondlife.com/"; //must include 'http://'
default
{
    touch_start(integer num_detected)
    {
        llLoadURL(llDetectedKey(0), text, url); //Loads the URL
    }
}</lsl>

Latest revision as of 20:02, 21 September 2008

Redirect to: