help close 3 while

I want to see if I can help to make 3 return

You want to exit multiple nested loops? Use GOTO:


while true
    for i = 1 to 1e9
        for each caveman in cavemen
            if is_some_condition(...) then goto EXIT_3_LOOPS
        end for
    next
end while
EXIT_3_LOOPS:

“EnTerr” wrote:
You want to exit multiple nested loops? Use GOTO:


while true
    for i = 1 to 1e9
        for each caveman in cavemen
            if is_some_condition(...) then goto EXIT_3_LOOPS
        end for
    next
end while
EXIT_3_LOOPS:

do not really understand

what does this mean

Unexpected event type:  11

a way to know how much while open