09.11.2020, 09:13
(09.11.2020, 07:25)admin Wrote: Open scripting editor and get your script id (editor?id=123). Use this script to stop a running script with a certain id.
Note that this will work only for event scripts. For resident scripts use script.disable(script_name)Code:id = 123
os.execute('pkill -f "scripting-event.lua ' .. id .. ' "')
for an event script, dose this kill all running instances for the event script?
And is it possible to check if there are running instances before using the above?