while(1) { if $i > 100 && Timer(5s) then .... if $x > 1 && Timer(500ms) then .... if $y > 100 && $z < -20 && Timer(5s) then .... }