LlName2Key
From Second Life Wiki
| Languages: |
English |
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
| | LSL Feature Request |
| The described function does not exist. This article is a feature request. |
Contents |
Description
Function: key llName2Key( string avatar_name );| REQUEST | Function ID |
| 0.1 | Delay |
| 10.0 | Energy |
Returns a key that is the UUID of avatar_name if they are located in the same sim that the script is running in.
| • string | avatar_name |
Caveats
- This function causes the script to sleep for 0.1 seconds.
Works only for agents recently located in the same sim the script is running in. Grid-wide name2key could be provided via a dataserver call.
Notes
Third-Party Name2Key databases are typically useless for lookup on newly created, unverified basic accounts. Additionally, there are data discrepancies between the various Name2Key databases due to bogus data, creating a situation where there is no reliable lookup method without this function. This would additionally be useful for agents that have 'just left' the sim, but are no longer available via sensor. (Such as attempting to issue a scripted ban after the perpetrator has already left the scene.)
PJIRA feature request at llRequestAgentKey(llName2Key)[c]. Please go vote if this feature is important to you.

