Logic Machine Forum
Disable all script at once - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Disable all script at once (/showthread.php?tid=1393)



Disable all script at once - savaskorkmaz - 14.05.2018

Hi,
Is there any possibility to disable all scripts at once ?


RE: Disable all script at once - admin - 18.05.2018

You can set the same category for all scripts and use script.categorydisable function:
http://openrb.com/docs/lua.htm#script.categorydisable


RE: Disable all script at once - savaskorkmaz - 27.05.2018

It does not work for me. But I found a solution.
1-) I exported all the scripts.
2-) I open vi winrar related .tar.gz file.
3-) I open scripts.json file via notepad
4-) I change active":1 with active":0 finf and replace then save the file
5-) I import related script backup one more time