Replace the
door2 waittill("rotatedone");
to
break;
Like this:
Also, you must finish each line with '';''PHP Code:
if(t==10)
{
door1 rotateyaw(90,2);
door2 rotateyaw(-90,2);
break;
}
t++;
wait 60;
Thats why you got the previous error xD
Replace the
door2 waittill("rotatedone");
to
break;
Like this:
Also, you must finish each line with '';''PHP Code:
if(t==10)
{
door1 rotateyaw(90,2);
door2 rotateyaw(-90,2);
break;
}
t++;
wait 60;
Thats why you got the previous error xD
Last edited by pollo; 9th March 2014 at 19:23.