integer aoenabled = TRUE;

default
{
    state_entry()
    {
        llSetText("LockMeister test AO interface\nTouch me to toggle",<1,1,1>,1.0);
    }
    
    on_rez(integer parm)
    {
        llResetScript();
    }

    touch_start(integer total_number)
    {
        if (aoenabled)
        {
            llSay(-8888,(string)llDetectedKey(0)+"bootoff");
            llSetText("LockMeister test AO interface\nAO disabled",<1,0,0>,1.0);
        }
        else
        {
            llSay(-8888,(string)llDetectedKey(0)+"booton");
            llSetText("LockMeister test AO interface\nAO enabled",<0,1,0>,1.0);
        }
        aoenabled = !aoenabled;
    }
}
  • fs_lockmeister_ao_test.txt
  • Last modified: 2012/07/06 22:54
  • by miro.collas