so this is my open and closed script. Where would I put the password text box? I keep getting syntax errors
default //initially closed
{
touch_start(integer num_detected) { state open; }
}
state open
{
state_entry()
{
rotation r1 = llEuler2Rot(<0.0,0.0,90.0> * DEG_TO_RAD);
llSetRot(r1 * llGetRot());
}
touch_start(integer num_detected) { state closed; }
}
state closed
{
state_entry()
{
rotation r2 = llEuler2Rot(<0.0,0.0,-90.0> * DEG_TO_RAD);
llSetRot(r2 * llGetRot());
}
touch_start(integer num_detected) { state open; }
}