View Single Post
  #2  
Unread 11-17-2011, 12:55 PM
Equendil Equendil is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2011
Posts: 52
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.
__________________
Author of LIP, Bootstrap and Baruk

Last edited by Equendil : 11-17-2011 at 01:12 PM.
Reply With Quote