Difference between revisions of "LlRequestAgentData"

From Second Life Wiki
Jump to navigation Jump to search
Line 8: Line 8:
|spec
|spec
|caveats
|caveats
|constants
|constants={{{!}}
!Constant
!Value
!Description
{{!}}-
{{!}}{{LSLG|DATA_ONLINE}}
{{!}}1
{{!}}If the requested agent is online
{{!}}-
{{!}}{{LSLG|DATA_NAME}}
{{!}}2
{{!}}The requested agents name
{{!}}-
{{!}}{{LSLG|DATA_BORN}}
{{!}}3
{{!}}The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
{{!}}-
{{!}}{{LSLG|DATA_RATING}}
{{!}}4
{{!}}The rating
{{!}}-
{{!}}{{LSLG|DATA_PAYINFO}}
{{!}}8
{{!}}The payment information
{{!}}}
|examples
|examples
|helpers
|helpers

Revision as of 15:03, 21 February 2007

Summary

Function: key llRequestAgentData( key id, integer data );
0.1 Forced Delay
10.0 Energy

Requests data about agent id. When data is available the dataserver event will be raised
Returns a key that is used to identify the dataserver event when it is raise.

• key id
• integer data

Constant Value Description
DATA_ONLINE 1 If the requested agent is online
DATA_NAME 2 The requested agents name
DATA_BORN 3 The account creation/"born on" date as a string in in ISO 8601 format of YYYY-MM-DD.
DATA_RATING 4 The rating
DATA_PAYINFO 8 The payment information

Caveats

  • This function causes the script to sleep for 0.1 seconds.

Examples

Deep Notes

Signature

function key llRequestAgentData( key id, integer data );