This, Sir, is the best explanation I could get. You truly deserve the title of Script Wizard.
Everything works properly now. Now I can turn my mad programmer mode on…
This, Sir, is the best explanation I could get. You truly deserve the title of Script Wizard.
Everything works properly now. Now I can turn my mad programmer mode on…
Although super boring, I recommend reading the lua 5.1 reference manual.
The interesting stuff is in chapter 2 (language specifics, some bits are C-specific and not interesting per se) and 5 (the standard library). It helps giving you a deeper insight into the language, which might come in handy now and then.
Keep in mind that SH deviates from standard lua at some parts; for example the normal random generator isn’t used, packages per se aren’t really used either, and a few other things.