Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Websites

Timmy Night
Cliff View Owner
Join date: 4 Apr 2005
Posts: 291
07-21-2006 10:28
How do I program an object so as when it is touched or clicked on it will take someone to a specific website?
_____________________
"I'm villifying you for God's sake - pay attention!" Sir Peter O'Toole as King Henry II in "The Lion In Winter"
Drizzt Naumova
Teh Foxeh DJ
Join date: 9 Oct 2005
Posts: 116
07-21-2006 23:57
From: Timmy Night
How do I program an object so as when it is touched or clicked on it will take someone to a specific website?



copy and paste this into a new script, change the Order Pizza to whatever you need it to say and also obviously, change the url in the script. click save, wait for compile success message, and drop it into said prim

CODE
default
{
touch_start(integer total_number)
{
llLoadURL(llDetectedKey(0), "Order Pizza", "http://www.dominos.com/");
}
}


This can be found on the wikki:
http://secondlife.com/badgeo/wakka.php?wakka=llLoadURL

Not to be confused with llPizza script :D

which also can be found here:
http://secondlife.com/badgeo/wakka.php?wakka=llPizza

:D