Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Simple Question

a lost user
Join date: ?
Posts: ?
08-11-2005 06:35
I'm new so forgive me if this is dumb.

I've looked around a bit in the Wiki and here, and maybe I am just missing it.

Is there a built in command for getting an Avatars name, so that I can then return it in chat? Like NAME$ or getName, or something. :)

Thanks
Carlton Sieyes
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
08-11-2005 06:46
That really depends where your trying to use it. If it is in response to something they say, the listen() event passes the spoken object/av's name and key. If it is upon touch, use llDetectedName(0). If it is just a general proximity thing, it would then again be llDetectedName(), however possibly a different interation.
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
08-11-2005 07:35
... or for attached-to avatar see the example at attach event
... or for owner name see the Q and A at the bottom of llGetOwner
Roseann Flora
/wrist
Join date: 7 Feb 2004
Posts: 1,058
08-11-2005 07:46
Hi Carlton Welcome to SL!! :D If you need more help with any SL questions just IM me in world by looking my name up in find:)
_____________________