Difference between revisions of "DATA NAME"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|type=integer
|type=integer
|value=2
|value=2
|desc=Used with [[llRequestAgentData]] to return a string containing the avatars name.
|desc=Used with [[llRequestAgentData]] to return a string containing the avatars {{LSLGC|Avatar/Name|legacy name}}.
|pa
 
|pb
* For legacy accounts (those with a first and last name). The format is "FirstName LastName".
* For modern accounts (those with only a first name). The format is "FirstName Resident".
|examples
|examples
|constants=
|constants=
Line 13: Line 14:
{{!}}}
{{!}}}
|functions=
|functions=
{{LSL DefineRow||[[llRequestAgentData]]|}}
{{LSL DefineRow||[[llRequestAgentData]]|Used with DATA_NAME}}
{{LSL DefineRow||[[llRequestDisplayName]]|Gets the [[display name]].}}
{{LSL DefineRow||[[llRequestUsername]]|Gets the [[display name|username]].}}
|events=
|events=
{{LSL DefineRow||[[dataserver]]|}}
{{LSL DefineRow||[[dataserver]]|}}
|location
|location
|cat1
|cat1=Dataserver
|cat2
|cat2=Legacy Name
|cat3
|cat3=Avatar/Name
|cat4
|cat4
}}
}}

Latest revision as of 23:18, 6 January 2013

Description

Constant: integer DATA_NAME = 2;

The integer constant DATA_NAME has the value 2

Used with llRequestAgentData to return a string containing the avatars legacy name.

  • For legacy accounts (those with a first and last name). The format is "FirstName LastName".
  • For modern accounts (those with only a first name). The format is "FirstName Resident".

Caveats


Related Articles

Constants

DATA_ONLINE 1 (integerboolean If the requested agent is online
DATA_NAME 2 string The requested agent's legacy name
DATA_BORN 3 string The account creation/"born on" date as a string in an ISO 8601 format of YYYY-MM-DD.
DATA_RATING 4 llCSV2List() Deprecated: Returns [0, 0, 0, 0, 0, 0]
Used to return: [pos_behavior, neg_behavior, pos_appearance, neg_appearance, pos_building, neg_building]
DATA_PAYINFO 8 (integermask Flag Description
PAYMENT_INFO_ON_FILE 0x1 If payment info is on file.
PAYMENT_INFO_USED 0x2 If payment info has been used.

Functions

•  llRequestAgentData Used with DATA_NAME
•  llRequestDisplayName Gets the display name.
•  llRequestUsername Gets the username.

Events

•  dataserver

Deep Notes

Search JIRA for related Issues

Signature

integer DATA_NAME = 2;