Open Logic6497 opened 6 years ago
Do a `/minebot stop on death``(or similar, don't remember the exact command) in a stack of commands (must be above the other commands)
Easy.
if (!minescript.isAlive()) { minescript.doStrategy(minescript.strategy("minebot", "respawn")); pause(1); minescript.serverCommand("/back"); }
This can also be done with a simple script but i would have to test it. Not sure if /minebot respawn works outside of the javascript api. maybe use /minebot stop on death stacked with /minebot respawn then /back.
How do I get it to do /back on death (Sorry for the basic questions really trying to learn about this thing) Thanks!