< User:Hexagon400‎ | Sandbox

This is a page where I discuss useful custom blocks/procedures you could make.

define wait until <boolean> for (seconds) //boolean is a boolean input but doesn't show it now
reset timer //sets the timer to 0 and then immediately starts counting
wait until <(boolean) or <(timer) > (seconds)>> //so it waits until either the statement is true OR the time is up
if (boolean) //this would mean the boolean occurred and there is still time left
perform script
else //if the time ran up
perform alternate script