Someone help! I am trying out the looping statements to figure out how best to accomplish a loop for a specific number of times, say 5 times and reset to basebet if no losing bet. On loss, multiplying previous bet by 2 for instance and maintaining the new betsize until the specific number of bets are won consecutively - 5 straight winning in this case.
First read this....
The script shouldn't loop. The bot does that for you.
See the currentstreak variable. This is provided by the bot and keeps track of the current streak. + for wins and - for loses.
if (currentstreak == 5) then
nextbet = basebet
end