Difference between revisions of "AGENT AWAY"
Jump to navigation
Jump to search
m |
Omei Qunhua (talk | contribs) (add example) |
||
Line 7: | Line 7: | ||
|text= | |text= | ||
|pb= | |pb= | ||
|examples | |examples= | ||
<lsl> | |||
// This is a code fragment only | |||
if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY) | |||
llSay(0, "Hello fairies!"); | |||
</lsl> | |||
|constants | |constants | ||
|functions= | |functions= |
Revision as of 05:10, 23 December 2013
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer AGENT_AWAY = 0x0040;The integer constant AGENT_AWAY has the value 0x0040
Indicates that the agent has either toggled away or has been inactive for too long.
Caveats
Related Articles
Functions
• | llGetAgentInfo |
Examples
<lsl>
// This is a code fragment only if (llGetAgentInfo( llGetOwner() ) & AGENT_AWAY) llSay(0, "Hello fairies!");
</lsl>