Advertisement
coinwalk

mydicebot

Mar 5th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. fraction = 50
  2. basebet = balance/fraction
  3. base = basebet
  4. chance = 49.95
  5. nextbet = basebet
  6. bethigh = false
  7. oldbal = balance
  8. target = balance*20
  9. ol = balance
  10. old = balance
  11. resetstats()
  12.  
  13. function dobet()
  14. if (balance>=(old+base)) and win then
  15. nextbet = previousbet*2
  16. base = nextbet
  17. old = balance
  18. end
  19. if (balance<=ol) and !win then
  20. nextbet = previousbet/2
  21. ol = balance
  22. base = nextbet
  23. old = balance
  24. end
  25. if balance<=nextbet*25 then
  26. nextbet = basebet
  27. base = basebet
  28. ol = balance
  29. old = balance
  30. end
  31. if nextbet<basebet then
  32. nextbet = basebet
  33. end
  34. if (balance>=(oldbal*1.1)) and win then
  35. nextbet = balance/fraction
  36. basebet = balance/fraction
  37. base = balance/fraction
  38. ol = balance
  39. oldbal = balance
  40. end
  41. if (balance>=target) then
  42. stop()
  43. end
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement