llUsernameToKey

From Second Life Wiki
Jump to navigation Jump to search
Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: key llUsernameToKey( string username );
0.0 Forced Delay
10.0 Energy

Returns a key that is the UUID of avatar with username, if they are located in the same sim that the script is running in.

• string username

Caveats

  • Works only for agents recently located in the same sim the script is running in. To request a UUID for a non-local avatar then use llRequestAgentKeyByUsername() instead.

Examples

Notes

Please vote on SVC-215 if you would like to see this function implemented.

See Also

Functions

•  llRequestAgentKeyByUsername to fetch avatar UUID by username grid-wide.
•  llDisplayNameToKey to fetch avatar UUID's by display-name.
•  llRequestAgentKeysByDisplayName to fetch avatar UUID's by display-name grid-wide.

Deep Notes

Signature

//function key llUsernameToKey( string username );