I would like a function called llGetAgentPos that would return the global coordinates for an agent in the same sim that the script is in. I have a project that needs to be able to easily detect the distance between two agents on the sim found through llGetAgentList. If necessary, this function could be given the same scope limitations as llGetAgentList.
The use of a sensor to get this information will be unnecessarily complex and consume sim resources better used for something else, as well as negate any potential safety concerns assuaged by not having the proposed function in the first place.