LSL feature request. The described function does not exist. This article is a feature request.
list llGetAvatarKeysOnParcel();
Forced delay: 0.1 seconds. Energy: 10.0.
Returns a list of avatar keys currently over the parcel the script runs on.
For common scripts that simply need to know who is present on a parcel, this would remove the need for having a sensor, and be more sim-efficient.