Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
This code will cause that bug, it won't make the bot sleep and just bugs out
var a = 1 if (a == 1){ sleep(5000)! }
When I just put it without "if" it works
@Hycore For anyone wondering I solved it with:
_if(VAR_THREAD_INDEX == 1,function(){ sleep(1000)! })!
@fox No errors displaying but i found out what was wrong, a label was wrongly named since i copied functions. That didn't affect the debugger bas but it did with schedueler! Thanks anyway. Works now