Top Free Scripts
Script ID : 38
Audience : Default
Version 1.00
Published Date: 2010/5/12 5:13:35
Reads : 4098
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(0out);
    }
}

0
|  Links 
Printer Friendly Page Send this Script to a Friend
Search for Help
New Product
Free Item
Sponsor

Site Info
Total Hits