The integer constant AGENT_MOUSELOOK has the value 0x0008
integer AGENT_MOUSELOOK = 0x0008;
// This is a code fragment only
if (llGetAgentInfo( llGetOwner() ) & AGENT_MOUSELOOK)
llSay(0, "Wee tim'rous beastie, where art thou?");