Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do you search using avatar keys?

Elenor Lapointe
Registered User
Join date: 31 Jul 2006
Posts: 93
07-27-2007 07:26
Is there a way where I can search who belongs to a particular avatar key? Is there a way of finding out my own key? Thanks in advance!
DaQbet Kish
cautiously reckless
Join date: 22 Jan 2007
Posts: 1,064
07-27-2007 07:33
This maybe what you looking for.
http://w-hat.com/name2key
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
07-27-2007 10:13
Name2Key sounds like an external fuction that does the opposite of what the poster is looking for, and it's just as easy to do what they're actually lookking for in world....

default
{
touch_start (integer total_number)
{
llSay (0,(string)llDetectedKey(0));
}
}


that ought to do it
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
07-27-2007 10:52
Johan's script will tell you what your key is. Or, go to w-hat.com, and look up your own key using their utility.

To find out who a key belongs to, that's a bit more complicated. If you understand how to script, the function llKey2Name() is what you want - note however, that it only works if the avatar who belongs to the key you're looking for is in the same sim as the script.

Good luck! :)
_____________________
------------------
The Shelter

The Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world.
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
07-27-2007 11:03
drop this in a prim and say "/1 <key>" where key is the actual user key
From: someone

integer channel = 1;

default
{
state_entry()
{
llListen(channel, "", llGetOwner(), "";);
}

listen(integer channel, string name, key id, string msg)
{
llSay(0, (string)msg +" belongs to: "+ llKey2Name(msg));
}
}

change "integer channel = 1;" to say 3 or 59 if u want it listen on a different channel, just remember to say "/3 <key>"
Elenor Lapointe
Registered User
Join date: 31 Jul 2006
Posts: 93
07-27-2007 17:18
Thankyou all so much for your answers. I appreciate you taking the time to answer. I am going to give those a go now :)