The integer constant AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT has the value 0x8000
Indicates that the agent is floating because of a scripted attachment using either llSetHoverHeight or llGroundRepel.
integer AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT = 0x8000;
Not available until server v2024.11-Apple_Cobbler
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT)
llSay(0, "You're walking on air!");