Talk:Display Names/LSL

From Second Life Wiki
Jump to navigation Jump to search

I have a Name2Key database to deliver gifts and to link registred users on my website to their SL account. The Name2Key Database does a namesearch lookup with a bot, if the name could not be found in the database. Will the namesearch lookup find the display names or the real names ? And whats when there are multiple people are using the same display name ?

With bots we are talking more viewer code than scripting. It will depend on how your bot works and how it does its searches. I would not be surprised if it required some updating to find the correct resident. - Kelly Linden 15:31, 19 August 2010 (UTC)

The "N" and the "n" used for name in functions

Hi Kelly,

considering function names llGetDisplayName and llGetUsername (same for lRequestxxxx) you'll see a difference for Name and name ; is it a mistake when you have written this article or the real names of the functions?

If they are the real function names, that will generate compile errors surely because we are humans :))

Yours truly

Garmin

Garmin Kawaguichi 10:39, 20 August 2010 (UTC)

That is because it's a username (one word) and a display name (two words), I think. A similar difference is in the llSensor constants: AGENT_BY_DISPLAY_NAME and AGENT_BY_USERNAME. Getting compile errors due to typos I already get a lot, I expect some more with these yeah :p DarthBunny Petrov 14:12, 20 August 2010 (UTC)
The english language subtlety, I understand that! Merci Garmin Garmin Kawaguichi 21:07, 20 August 2010 (UTC)

The dataserver functions

I'm curious about why the dataserver requests to get the username and display name weren't added to llRequestAgentData (with for example new constants DATA_USERNAME and DATA_DISPLAY_NAME). Is it easier to add new functions? Or do separate functions just make more sense from a language design point of view or something? DarthBunny Petrov 14:12, 20 August 2010 (UTC)