Skip to content
lsl.devlsl.devLSL Dev

Constants in the AgentData enum.

All constant groups

At a glance, from the LSL definitions
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

ConstantTypeValueDescription
DATA_BORNinteger3Used 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_NAMEinteger2Used with llRequestAgentData to return the requested agent's legacy name.
DATA_ONLINEinteger1Used with llRequestAgentData to return whether the requested agent is online (returns an integer boolean string: TRUE if online, FALSE if offline).
DATA_PAYINFOinteger8Used 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_RATINGinteger4Deprecated. 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_0integer9Reserved for Linden use.

Used by