Break
break leaves the for, while or
repeat … until loop it is in. The script goes on with the line after the loop.
Only the innermost loop is left. A break outside any loop does nothing.
Example
Section titled “Example”set %test 1while %test < 10{ if %test = 7 break set %test %test + 1}display ok %test ; shows 7haltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.