Bully-Board

Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: Razc01na on March 08, 2021, 07:02:36 AM

Title: goto issue
Post by: Razc01na on March 08, 2021, 07:02:36 AM
Is it just me or does the lua compiler we have really hate the goto instruction?

For some reason It asks for a '=' in between the goto and the label:

luac: script.lua:56: `=' expected near `label'

Are we restricted from using goto in our scripts?
Title: Re: goto issue
Post by: Razc01na on March 14, 2021, 03:06:24 PM
Forget about it...
goto was only added after lua 5.2...
My bad  :blush: