A few points to note:
- You should probably stick to a single ScriptExecutor (the one provided by the Bot instance). I doubt two script executors can run for the same Bot instance.
- You would need to control the ScriptExecutor asynchronously (outside the context of your main script). If the ScriptExecutor is not running, your onLoop will never be called again, and you won't be able to start up the next script.
- Take a look at calling the 'prepare' method before 'start'. Be sure to terminate the previous script before attempting to run a new one.
Not sure if this is even possible, but it's worth a shot :E