Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SLurl maker

Silje Russell
lsl geek
Join date: 2 Oct 2005
Posts: 63
12-01-2006 02:55
small script to help making slurl on the fly


CODE

default
{
touch_start(integer t)
{
string regionname = llDumpList2String(llParseString2List(llGetRegionName(),[" "],[]),"%20");
vector pos = llGetPos();
integer x = (integer)pos.x;
integer y = (integer)pos.y;
integer z = (integer)pos.z;
llOwnerSay("http://slurl.com/secondlife/"+regionname+"/"+(string)x+"/"+(string)y+"/"+(string)z+"/");
}
}

_____________________
Yes i know i got typos..
I got writing and reading problems.
but i am still a humen!!
Trionnis Stockholm
Registered User
Join date: 20 Nov 2006
Posts: 15
12-01-2006 05:51
quite handy, thanks mate! :)