Skip to content

Halt

halt

Also searchable as: Halt

halt stops the script. Unlike pause, it cannot be resumed: pressing Play starts the script again from the first line. stop does exactly the same.

A main script that reaches its last line without halt starts over from the top, as with exit.

set %amountNeeded 3
finditem TSF C_ , #BackpackID ; daggers
if #FindCnt < %amountNeeded
halt
display ok #FindCnt daggers: enough to go on.
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.