Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bdiv = 420000
- basebet = balance/bdiv
- nextbet = basebet
- multiplier = 1.5
- lodiv = 70000
- more = balance
- losebet = balance/lodiv
- target = balance*100
- chance = 50
- bethigh = false
- good = 0
- bad = 0
- bogus = 0
- resetstats()
- -- Start the actual betting
- function dobet()
- snow = balance/lodiv
- if balance>target then
- stop()
- ching()
- end
- if win then
- good += 1
- bogus += 1
- else
- bad+=1
- end
- if (bad == 1) then
- nextbet = balance/lodiv
- end
- if (bogus > 2) then
- nextbet = previousbet*multiplier
- bogus = 0
- end
- if (math.fmod(bad,4)==0) and (bad>3) then
- nextbet = previousbet*multiplier
- end
- if (good > 3) then
- nextbet = previousbet*multiplier
- good = 0
- end
- if (nextbet==nil) then
- nextbet = previousbet
- end
- if (balance > more+(snow)) then
- nextbet = balance/bdiv
- bad = 0
- good = 0
- bogus = 0
- more = balance
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement