Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
seuntjie
on 20/01/2018, 16:20:47 UTC
Guys,


Could you please help me to put here a piece of code, which will bet every X bets Y amount of BTC with Z% of probability? X, Y, Z will be variables I will control:

Code:
chance=49.5
multiplier=2
base=0.00000100
preroll=5
prebet=0.00000001
stretch=3
function dobet()
 tmp = currentstreak+preroll
 if win then
  nextbet=prebet
 else
  if tmp == 0 then
   nextbet=base
  end
  if tmp < 0 then
   if tmp %stretch == 0 then
    nextbet=previousbet*multiplier
   end
  end
 end
end

Thank you!

Have you looked at the programmer mode tutorials and tried to do it yourself?

https://bot.seuntjie.com/programmermode.aspx