AgentData
Constants in the AgentData enum.
integer DATA_BORN = 3; // Used with llRequestAgentData to return the agent's account creation ('born on') date as a string in ISO 8601 format (YYYY-MM-DD), based on Pacific Time (not UTC).integer DATA_NAME = 2; // Used with llRequestAgentData to return the requested agent's legacy name.integer DATA_ONLINE = 1; // Used with llRequestAgentData to return whether the requested agent is online (returns an integer boolean string: TRUE if online, FALSE if offline).integer DATA_PAYINFO = 8; // Used with llRequestAgentData to return a string containing the integer mask flag for payment status (contains PAYMENT_INFO_ON_FILE, PAYMENT_INFO_USED, or both).integer DATA_RATING = 4; // Deprecated.integer DATA_RESERVED_0 = 9; // Reserved for Linden use.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
DATA_BORN | integer | 3 | Used with llRequestAgentData to return the agent's account creation ('born on') date as a string in ISO 8601 format (YYYY-MM-DD), based on Pacific Time (not UTC). |
DATA_NAME | integer | 2 | Used with llRequestAgentData to return the requested agent's legacy name. |
DATA_ONLINE | integer | 1 | Used with llRequestAgentData to return whether the requested agent is online (returns an integer boolean string: TRUE if online, FALSE if offline). |
DATA_PAYINFO | integer | 8 | Used with llRequestAgentData to return a string containing the integer mask flag for payment status (contains PAYMENT_INFO_ON_FILE, PAYMENT_INFO_USED, or both). |
DATA_RATING | integer | 4 | Deprecated. Used with llRequestAgentData to return the string '0, 0, 0, 0, 0, 0'. It formerly returned a comma-separated list of positive and negative ratings (behavior, appearance, and building) before ratings were removed from SL. |
DATA_RESERVED_0 | integer | 9 | Reserved for Linden use. |
Used by
llRequestAgentDatafunctionAsynchronously requests the specified data category (DATA_*) about the agent id. Triggers a dataserver event with the results and returns a key query handle.