Advertisement
coinwalk

snowybot

Jul 10th, 2020
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. more = balance
  2. fraction = 256
  3. basebet = balance/fraction
  4. nextbet = 0
  5. bethigh = false
  6. loss = 0
  7. winn = 0
  8. snow = 0
  9. target = balance*2
  10. chance = 49.95
  11.  
  12. function dobet()
  13. if win then
  14. winn+=1
  15. snow+=1
  16. else
  17. loss+=1
  18. snow+=1
  19. end
  20. if (snow>0) then
  21. nextbet = previousbet*1.5
  22. snow = 0
  23. end
  24. if (winn>1) then
  25. winn = 0
  26. end
  27. if (loss>2) and (winn==1) and win and (balance==more) then
  28. nextbet = basebet
  29. loss = 0
  30. more = balance
  31. end
  32. if (nextbet>(balance/2)) then
  33. nextbet = 0
  34. end
  35. if (balance > more) and win then
  36. nextbet = 0
  37. snow = 0
  38. loss = 0
  39. winn = 0
  40. more = balance
  41. end
  42. if (balance >= target) then
  43. stop()
  44. ching()
  45. end
  46. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement