Environment
getscriptglobals
Gibt eine new table zurück, die die current LUA_GLOBALSINDEX values für _G und shared enthält. Die function nimmt keine arguments, erstellt eine fresh table, weist _G aus LUA_GLOBALSINDEX._G und shared aus LUA_GLOBALSINDEX.shared zu und gibt exactly one value zurück. Sie gibt nicht die full global table zurück, und für getscriptglobals ist kein alias registriert.