Do anyone know how to start the script from beginning without using the start button. I have tried calling function within the function but it is not working.
Edited: Sorted, No need to use the stop function if you want to start it again from beginning.
Correct, stop() will halt the entire script... and the only way to restart it is to click the start button, or manually enter start() in the console.
To "start it from the beginning" you just have to reinitialise all the variable like chance, nextbet, bethigh (and any others that you may have modified during runtime) back to the original values that you set at the very beginning of your script.
Then, when dobet() runs again, it'll be like your script just started
