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 Info Land_Information  

Land_Information

Returns land name, square meterage, prim usage out of total prims, and any land restrictions.

Category: Land Info
By : Fred Kinsei
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Land_Information
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Land_Information_1.lsl
1 //Credit to the creator:
2 //Made by SL resident Fred Kinsei
3
4 land()
5 {
7 string name = llList2String(info, 0);
8 integer size = llList2Integer(info, 1);
12 string restrictions;
13 if(!(flags & PARCEL_FLAG_ALLOW_FLY))
14 {
15 restrictions += " : No Fly";
16 }
18 {
19 restrictions += " : Damage Zone";
20 }
22 {
23 restrictions += " : No Build";
24 }
26 {
27 restrictions += " : Push Enabled";
28 }
30 {
31 restrictions += " : Push Disabled";
32 }
33 restrictions += " :";
34 llOwnerSay(name + " ~ " + (string)size + "sqm");
35 llOwnerSay((string)prims + "/" + (string)primMAX + " prims.");
36 llOwnerSay(restrictions);
37 }
38 default
39 {
41 {
42 llListen(0, "", llGetOwner(), "");
43 }
44 listen(integer chan, string name, key id, string message)
45 {
46 if(message == ".land")
47 {
48 land();
49 }
50 }
51 }

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