script
Script meta-management.
script.load(path) → bool
Parameters: path : string — path relative to scripts/
script.unload(path) → bool
Example
lua
-- Load another script (typically called from an interactive button)
if not script.load("_test_05_net.lua") then
gui.notify:error("Load failed", 2.0)
end