OSSL Constants/PARCEL DETAILS DWELL
From OpenSimulator
Jump to navigationJump to search
Example:
default
{
state_entry() {;}
touch_start(integer number)
{
vector position = llGetPos();
list details = llGetParcelDetails(position, [
PARCEL_DETAILS_NAME,
PARCEL_DETAILS_DESC,
PARCEL_DETAILS_AREA,
PARCEL_DETAILS_DWELL
]);
string text = "PARCEL INFOS";
text += "\nLocal Parcel @ " + (string)position;
text += "\nLocal Parcel Name: " + llList2String(details, 0);
text += "\nLocal Parcel Desc: " + llList2String(details, 1);
text += "\nLocal Parcel Area: " + llList2String(details, 2) + " m²";
text += "\nLocal Parcel Dwell: " + llList2String(details, 3);
llSay(PUBLIC_CHANNEL, text);
}
}