SomethingNeedDoing icon indicating copy to clipboard operation
SomethingNeedDoing copied to clipboard

Lua Scripts

Open Kwehh13 opened this issue 3 years ago • 1 comments

Is there anyway to repeat a luascript? Also, I don't think retries work with luas.

Kwehh13 avatar Aug 30 '22 06:08 Kwehh13

while true do
    if ShouldStop() then
        break
    end

    DoStuffs()
end

This will repeat DoStuffs() untill the conditions from ShouldShop() meet

Nukoooo avatar Aug 31 '22 08:08 Nukoooo