PtokaX Lua scripting interface

# ScriptMan metatable

ScriptMan.GetScript() | - Return script table with sName, bEnabled, iMemUsage.
ScriptMan.GetScripts() | - Return table with scripts as tables with sName, bEnabled, iMemUsage.
ScriptMan.MoveUp(sScriptName) | - Move script up in script order. Return nil when failed, true if success.
ScriptMan.MoveDown(sScriptName) | - Move script down in script order. Return nil when failed, true if success.
ScriptMan.StartScript(sScriptName) | - Start script with given name. Return nil when failed, true if success.
ScriptMan.RestartScript(sScriptName) | - Restart script with given name. Return nil when failed, true if success.
ScriptMan.StopScript(sScriptName) | - Stop script with given name. Return nil when failed, true if success.
ScriptMan.Restart() | - Restart scripting interface.
ScriptMan.Refresh() | - Refresh script list.