Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Land script_to_notify_you_when_your_land  

script_to_notify_you_when_your_land

script to notify you when your land sells by Angel Fluffy.lsl

Category: Land
By : Angel Fluffy
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for script_to_notify_you_when_your_land
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. script_to_notify_you_when_your_land_1.lsl
1
2 1
3 //********************************************************
4 //This Script was pulled out for you by YadNi Monde from the SL FORUMS at http://forums.secondlife.com/forumdisplay.php?f=15, it is intended to stay FREE by it s author(s) and all the comments here in ORANGE must NOT be deleted. They include notes on how to use it and no help will be provided either by YadNi Monde or it s Author(s). IF YOU DO NOT AGREE WITH THIS JUST DONT USE!!!
5 //********************************************************
6
7
8
9
10
11
12
13 //script to notify you when your land sells by Angel Fluffy
14 //It's very simple : it simply sends you an IM when your land is sold to someone else, then deletes itself. I've NOT tested it AT ALL, so I make no assurances AT ALL that it will work. It's intended to be more of an idea than anything else - if it works, consider that a bonus
15
16
17
18
19 integer ctime = 10;
20
21 default
22 {
24 {
25 llSay(0, "Online. Will check every "+(string)ctime+" seconds. If land owner is NOT the same as object owner, will message object owner with location and 'your land sold' message, and self delete.");
26 llSetTimerEvent((float)ctime);
27 }
28
29 timer() {
31 // object owner matches land owner
32 } else {
33 // object owner does NOT match land owner!
34 llInstantMessage(llGetOwner(),"Your land at "+(string)llGetRegionName()+":"+(string)llGetPos()+" has been sold. The new buyer may be : "+llKey2Name(llGetLandOwnerAt(llGetPos()))+" (if this fails, a group now has it).");
35 llDie();
36 }
37
38 }
39 }// END //

Back to the Best Free Tools in Second Life and OpenSim.