(05-12-2015, 07:02 AM)xoft Wrote: MCServer loads and primes all .lua files that are in the plugin's folder, in alphabetical order, except for the Info.lua file which is always loaded as the last one. So anything you define globally in any file is accessible in any other file.
Does this mean that function order doesn't matter at all? For example
function cool() hi() end function hi() print("hi") endwill work fine? In the environment I worked in, Lua files weren't "primed" in that sense and I had to actually pay attention to my function structure.