Has anyone found a prim counter that I can give to residents?
I tried one from Outworldz free scripts, but it didn't work on my 16-region world. We are getting more residents on Wellspring and I don't know of a rental system that will also allow me to set specific prim levels per person. The parcels are small and the prims levels I give are a bit more than the parcel allows.
Thanks,
--Alex
Prim Counter Script needed
- Alexina Proctor
- Posts: 102
- Joined: Sun Mar 16, 2014 2:32 am
- Has thanked: 774 times
- Been thanked: 117 times
- Contact:
Prim Counter Script needed
- These users thanked the author Alexina Proctor for the post:
- Ilan Tochner
--Alexina Proctor
Co-founder with Prax Maryjasz of Sendalonde Community Library
Library: hop://grid.kitely.com:8002/Sendalonde
https://about.me/alexinaproctor/
Co-founder with Prax Maryjasz of Sendalonde Community Library
Library: hop://grid.kitely.com:8002/Sendalonde
https://about.me/alexinaproctor/
- Krull Kitty
- Posts: 100
- Joined: Thu Aug 06, 2020 1:25 pm
- Has thanked: 39 times
- Been thanked: 81 times
Re: Prim Counter Script needed
This may be useful if you are handy with snipping and reformulating code...
Code: Select all
// gives prim usage information when touched
string primCountThisParcel(integer flag)
{
vector currentPosition = llGetPos();
return
(string)llGetParcelPrimCount(currentPosition, flag, FALSE);
}
default
{
touch_start(integer total_number)
{
llSay(PUBLIC_CHANNEL,
"The total land impact of objects on this parcel is " + primCountThisParcel(PARCEL_COUNT_TOTAL) + ".");
llSay(PUBLIC_CHANNEL,
primCountThisParcel(PARCEL_COUNT_OWNER) + " objects owned by the parcel owner.");
llSay(PUBLIC_CHANNEL,
primCountThisParcel(PARCEL_COUNT_GROUP) + " objects set to or owned by the parcel's group.");
llSay(PUBLIC_CHANNEL,
primCountThisParcel(PARCEL_COUNT_OTHER) + " objects not set to the parcel group or owned by the parcel owner.");
llSay(PUBLIC_CHANNEL,
primCountThisParcel(PARCEL_COUNT_SELECTED) + " selected objects.");
llSay(PUBLIC_CHANNEL,
primCountThisParcel(PARCEL_COUNT_TEMP) + " temp-on-rez objects.");
}
}
- These users thanked the author Krull Kitty for the post (total 4):
- Ilan Tochner • Tonia Kara • Alexina Proctor • Genavieve Page