Log in

View Full Version : Enable/Disable Scripts



Colte
05-09-2013, 02:12 PM
My suggestion to help improve Xenobot would be that there should be an option to enable/disable scripts while your bot is running.
It would work like, for example: the setWalkerEnabled
And it would look something like this:

setScripterEnabled(script.lua, false)
Or this to enable/disable all scripts:

setScripterEnabled(*, true)

I can't believe this hasn't been added in Xenobot yet. It would save us so much time by doing that.
Would be perfect if you want to execute or kill a script at a certain label.

Hendy
05-09-2013, 05:59 PM
Colte if the script is actually just a module it can be enabled and disabled through lua.