This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Script - how to end script if true
#1
Hi.

I have some code that i want to stop/exit at first line if true. How is this achived in Lua? I can't find a straight answer for this on google.


if VALUE1 < VALUE2 then "don't go to next if: exit, break, return or something like that"
end
if VALUE3 < VALUE4 then do something
end
Reply


Messages In This Thread
Script - how to end script if true - by Kai-Roger - 31.10.2018, 22:43

Forum Jump: