break
The break command works inside any repeat block. It exits the loop.
repeat
repeat 3 times wait 2s if my @value is not empty break end append "Value is still empty... <br/>" to #message end