wwwat Posted January 2, 2017 Share Posted January 2, 2017 I made a script, and it runs fine, but it stops working after it breaks (it logs out, breaks then logs back in, and then stops doing anything). I was wondering if there's anything I am supposed to do when coding the script so that it handles breaks properly, or if it's supposed to work automatically. Quote Link to comment Share on other sites More sharing options...
DrDu Posted January 2, 2017 Share Posted January 2, 2017 well it depends on the logic of the script since the script starts at the beginning again like if its at a step where it doesnt work for then it will error Quote Link to comment Share on other sites More sharing options...
Team Cape Posted January 2, 2017 Share Posted January 2, 2017 essentially what drdu said - if you have any sort of linear logic that wouldn't make sense from the beginning of onLoop(), chances are your script will break. Quote Link to comment Share on other sites More sharing options...
wwwat Posted January 2, 2017 Author Share Posted January 2, 2017 I think I have an idea of how I could fix this, thanks a lot for the help guys! Quote Link to comment Share on other sites More sharing options...