HOME PRODUCTS HELP FREEBIES SCRIPTS TUTORIALS NEWS CONTACT
  Teleport to Store in-world!    |     Links  
Main Menu
Alicia's Raffle
Who's Online
16 user(s) are online (4 user(s) are browsing Free Scripts)

Members: 0
Guests: 16

more...
Admin Login
Username:

Password:


Lost Password?

Register now!
SL Books


Sites of Interest
Published Date: 2010/5/12 0:13:35
Views : 103
Agent/Avatar

Will check if avatar is away or busy when Touched.


default
{

    touch_start(integer buf)
    {
        buf = llGetAgentInfo(llDetectedKey(0));
        string out; 
        if(buf & AGENT_AWAY)
            out += "The agent is Away.\n";
        else
            out += "The agent is not Away.\n";
            
        if(buf & AGENT_BUSY)
            out += "                            The agent is Busy.\n";
        else
            out += "                            The agent is not Busy.\n";
 
        llWhisper(0, out);
    }
}

0
|  Links 
Printer Friendly Page Send this Script to a Friend
Visit ASD Studios Hollywood
Product Spotlight
Alicia's Universe
Recent Scripts
Suggested Reading
Top Free Scripts

© 2006-2010 Alicia Stella | ASD Affiliate Programs | Policies | News | Help
Second Life®, Xstreet & the inSL logo are registered trademarks of Linden Research, Inc.
Alicia Stella Design is not affiliated with Second Life. No infringement is intended.