Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Resolve avatar name

stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
04-03-2007 01:35
Is it possible resolve the avatar name that touch an object

I need insert in a mysql db the name of user that touch my script
i have find the script to insert in db the agent id but i need the name

Can anyone help me ?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-03-2007 01:48
From: stefanolo Lednev
Is it possible resolve the avatar name that touch an object

I need insert in a mysql db the name of user that touch my script
i have find the script to insert in db the agent id but i need the name

Can anyone help me ?


CODE
string name = llKey2Name( llDetectedKey(0) );
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
04-03-2007 02:08
thx for you fast reply
if i use name

string name = llKey2Name( llDetectedKey(0) );

i detect the avatar name ??

llKey2Name is a class ??? where can i find all documentation about this functions ??

PS: i developping in php is most difficulty learning LSL ?
Jhary Priestly
JPC
Join date: 18 Jan 2007
Posts: 19
04-03-2007 02:21
Check the FAQ in this forum (it's one of the sticky posts... for a reason) or check the inofficial or the official Wikkis on LSL.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
04-03-2007 02:26
From: stefanolo Lednev
thx for you fast reply
if i use name

string name = llKey2Name( llDetectedKey(0) );

i detect the avatar name ??

llKey2Name is a class ??? where can i find all documentation about this functions ??

PS: i developping in php is most difficulty learning LSL ?



As Jhary suggested it would be useful for you to read the sticky's associated with this forum to get a better understanding of the basic's of LSL.
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
04-03-2007 02:39
thx friends for your help
it's most important for me - i am a newbie