DONTSITONME

From OpenSimulator

Jump to: navigation, search


default
{
    state_entry() 
    {
       llSetTimerEvent(25);
       llSitTarget(<0,0,0.1f>,<0,0,0,1>);
       llSay(0,"Dont sit on me!");
    }
    changed(integer how)
    {
        if ((how & CHANGED_LINK) != 0)
        {
            if (llAvatarOnSitTarget() != "")
            {
                llSay(0,"ACK!  GET OFF!!!!!!!");    
            }
        }
    }
    timer()
    {
        llSay(0,"Please don't sit on me");    
    }
}
Personal tools
About This Wiki