LSL feature request. The described function does not exist. This article is a feature request.
integer llGetParcelPopulation( vector position );
Forced delay: 0.1 seconds. Energy: 10.0.
Returns an integer that is the avatars currently online in the parcel at position in region coordinates.
Useful in devices compiling other visitor statistics than that of "traffic" without having to use laggy (and inaccurate on large parcels) scans.
You can use llGetAgentList(AGENT_LIST_PARCEL, []); instead of the desired function described on this page.