d0zza Posted December 27, 2016 Share Posted December 27, 2016 Yo what do I return in onLoop when i want to stop the script? I tried returning -1 but that just crashed osbot. Link to comment Share on other sites More sharing options...
Aiban Posted December 27, 2016 Share Posted December 27, 2016 If your script meets the condition stop(); 3 Link to comment Share on other sites More sharing options...
progamerz Posted December 27, 2016 Share Posted December 27, 2016 (edited) stop(boolean to logout) Example: stop(true) To logout and stop the script API: http://osbot.org/api/org/osbot/rs07/script/Script.html#stop-- Edited December 27, 2016 by progamerz Link to comment Share on other sites More sharing options...
Satire Posted December 27, 2016 Share Posted December 27, 2016 Also, next time you post, can you please go to the scripting help section? Thanks!This is for tutorials... Link to comment Share on other sites More sharing options...