//PARCEL_DETAILS_OWNER 2 The parcel owner's key. (36 Characters) key
//PARCEL_DETAILS_GROUP 3 The parcel group's key. (36 Characters) key
//PARCEL_DETAILS_AREA
// Best viewed in Chat History (ctrl-h)
//default
//{
// collision_start(integer a)//Announce who collided
// {
// llSay(0, "llKey2Name: " + llKey2Name(llDetectedKey(0)) +
// "\nllDetectedName: " + llDetectedName(0));
// }
// touch_start(integer a)
// {
// llSay(0,"llKey2Name: " + llKey2Name(llDetectedKey(0)) +
// "\nllDetectedName: " + llDetectedName(0));
// }
//}
list landinforeqd = [PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC, PARCEL_DETAILS_OWNER, PARCEL_DETAILS_GROUP, PARCEL_DETAILS_AREA];
vector regionbase;
default
{
state_entry()
{
//llResetScript();
regionbase = llGetPos(); // llGetRegionCorner();
llSetText("Ready.",<1.0,1.0,1.0>,1.0);
}
touch_start(integer total_number)
{
list details = llGetParcelDetails(regionbase,landinforeqd);
//llSay(0, "Local Parcel Name:" + llList2String(details ,0));
//llSay(0, "Local Parcel Desc:" + llList2String(details ,1));
//llSay(0, "Local Parcel Own:" + llList2String(details ,2));
// llSay(0, "Local Parcel group:" + llList2String(details ,3));
// llSay(0, "Local Parcel area:" + llList2String(details ,4));
llSetText(
"Info: \n Parcel Name: " +llList2String(details ,0)+
"\n Parcel description: " +llList2String(details ,1)+
"\n Parcel Owner Key: " +//llList2String(details ,2)+
"\n Parcel Owner Name: n/a" +
"\n Parcel Group Key: " +//llList2String(details ,3)+
"\n Parcel Group Name: n/a" +
"\n Parcel Size: " +llList2String(details ,4)+ " m²", <1.0, 1.0, 1.0>, 1.0);
}
}