12.02.2019, 23:26
There is another option:
-- At script begin
script.disable(_SCRIPTNAME)
-- some code
-- at script end
script.enable(_SCRIPTNAME)
-- At script begin
script.disable(_SCRIPTNAME)
-- some code
-- at script end
script.enable(_SCRIPTNAME)