Advertisement
coinwalk

same as javascript c5

Aug 29th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. fraction = 250000
  2. basebet = balance/fraction
  3. nextbet = basebet
  4. bethigh = false
  5. chance = 5
  6. james = balance
  7. fim = 0
  8. target = 500000
  9. function dobet()
  10. if (!win) then
  11. fim+=1
  12. end
  13. if (fim==9) then
  14. nextbet = previousbet*2
  15. fim = 0
  16. end
  17. if (balance>=james) and win then
  18. nextbet = balance/250000
  19. james = balance
  20. end
  21. if balance>target then
  22. stop()
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement