Eine Idee wäre so (gefällt mir aber nicht so richtig....)

timer zählt Variable Z hoch


DO

if Z = 1 AND Z1 = 1 then
Print A
End if

if Z = 2 AND Z2 = 1 then
Print B
End if

if Z = 3 AND Z3 = 1 then
Print B
Z1=0
Z2=0
Z3=0
Z=0
End if

LOOP