Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string GetLocation()
- {
- string globe = "http://maps.secondlife.com/secondlife";
- string region = llGetRegionName();
- vector pos = llGetPos();
- string posx = (string)(llRound(pos.x));
- string posy = (string)(llRound(pos.y) - 3);
- string posz = (string)(llRound(pos.z) + 2);
- return (globe + "/" + llEscapeURL(region) +"/" + posx + "/" +posy + "/" + posz);
- }
- default
- {
- touch_start(integer total_number)
- {
- llSay(0, "Hello, someone will be here soon to assist you!");
- llInstantMessage(llGetOwner(),llKey2Name(llDetectedKey(0)) + " needs assistance at your jewelry shop at " + GetLocation() +".");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement