From Second Life Wiki
|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
The integer constant AGENT_AUTOPILOT has the value
This value is set when the user selects "Go Here" on the ground, or uses the optional Double-Click Auto-Pilot feature.
Under Viewer 2.0 and later, it is also set when:
if (llGetAgentInfo( llGetOwner() ) & AGENT_AUTOPILOT) llSay(0, "Oops, sorry, don't blame me, it was my auto-pilot!");