Not tried myself, but the io.* library is supposed to be disabled.
Edit: not sure either the "dofile" and "require" statements (or other module statements for that matter) are enabled, Turbine came up with "import" that runs the given lua script if it hasn't been run already by another "import" statement, within an environment set to be equal to the 'path' of the script.
In other words, "import a.b.c" will run "Plugins/a/b/c.lua" with _G.a.b set as its environment.
Last edited by Equendil : 11-17-2011 at 01:12 PM.
|