Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Gets proper name of a key since objects don't have display names.
- string getProperName(key id)
- {
- if(llGetOwnerKey(id) == llGetOwner()) // only agents own themselves
- {
- return llGetDisplayName(id);
- }
- else // otherwise id must be an object.
- {
- return llKey2Name(id);
- }
- }
Add Comment
Please, Sign In to add comment