Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Retrieving a key using the avatar name

John Duke
Registered User
Join date: 8 Feb 2006
Posts: 7
11-09-2008 15:25
Is there a way to pass a string of an avatar's name and get the key returned for someone other than yourself (kind of like what llGetOwner() does for you when in an object), but for someone else.

I'm looking for a way to do this specifically so that I can have a defined string variable of another avatar, and do the look up, and get the key returned.

I want to basically say

string SomeDude="Billy Bob"
key avKey=GetOthersKey(SomeDude)

P.S. I had a look at sensors and detectors, but I don't see a way to make them work where you can force them to look at a specific avatar name... if there is a way, or that IS the way to go, I'd appreciate some suggestions on how to modify their calls to make them do what I'm after.

Thanks,
JD
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
11-09-2008 15:42
You need to use an external service - the best known is:
http://w-hat.com/name2key
There's no way to do this entirely in-game.
_____________________
http://slurl.com/secondlife/Together
John Duke
Registered User
Join date: 8 Feb 2006
Posts: 7
11-09-2008 16:04
Thank you for your reply. It is appreciated.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-09-2008 20:22
other options include using directed search strings using the web address for inworld search, but last I checked it's still not quite as reliable as w-hat
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -