код я уже давно сделал. смотри:Покажи свой код с метками, сделаем без меток
Lua:
action 1
if condition1 then
goto m
end
action 2
if condition2 then
goto m
end
action 3
if condition3 then
goto m
end
action 4
if condition4 then
goto m
end
action 5
::m::
Lua:
action 1
if not condition1 then
action 2
if not condition2 then
action 3
if not condition3 then
action 4
if not condition4 then
action 5
end
end
end
end