Control

wait (1) seconds
repeat (10)
forever
if <> then
if <> then
wait until <>
repeat until <>
stop [all]
when I start as a clone
create clone of [myself]
delete this clone