luaapi:px_scriptman
Script manager table functions
Function | Description |
---|---|
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. |
luaapi/px_scriptman.txt · Last modified: 16/06/2015 14:04 by ppk