Weekly Raffle
Top Free Scripts
ASD Web Tools
Away/Busy Check
 
Script ID : 38
Published Date: 2010/5/12 5:13:35
Reads : 2807
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);
    }
}

Printer Friendly Page Send this Script to a Friend

Disclaimer: While I do not mind if these scripts are used in things you sell, I do not wish for these scripts to be sold either on their own or in script packs.
Most Popular Raffle System In Second Life
Visit ASD Studios Hollywood
Search for Help
Monthly Free Item
Halloween Cupcakes


Limit one per avatar
Teleport Now!



Sponsor

Site Info
Total Hits: