SLURL+Maker

code // This is a simple script to generate a basic SLURL from your present location (so you can copy it and paste it somewhere outside of SL). //Put it in a HUD attachment or something, then just touch the HUD to make the slurl. Open your chat history and copy from there. //I don't know of a way to retrieve the parcel name or description, so this just uses the sim name as the SLURL title. It doesn't convert spaces in the names.

// SLURL Maker 0.4 // by Dyne Talamasca

vector Where; string Name; string SLURL; integer X; integer Y; integer Z;

default {   touch_start(integer numtouching) {       llOwnerSay("One moment, retrieving data..."); Name = llGetRegionName; Where = llGetPos;

X = (integer)Where.x;       Y = (integer)Where.y;        Z = (integer)Where.z;

// I don't replace any spaces in Name with %20 and so forth.

SLURL = "http://slurl.com/secondlife/" + Name + "/" + (string)X + "/" + (string)Y + "/" + (string)Z + "/?title=" + Name;

llOwnerSay(SLURL); }

} code