Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
houseworx
on 20/12/2017, 23:46:54 UTC
Any help on this?

Hello my helpful friends.
I need a script to
bet 1 sat on 49.50
if win bet the same bet i lose bet x2 until it gets a profit 100 sat once profit 100 sat reset and get back to 1 sat bet
all this until total profit from start  reaches 1000 sat than stop

how to archive that?


chance=49.50
multiplier=2
base=0.00000001
nextbet=base  
bethigh=true
function dobet()
   if win then
      nextbet=base
   end
   else
      nextbet=previousbet*multiplier
   end
   if profit > 0.00000100 then
      resetstats()
      nextbet=base
   end
   if profit > 0.00001000 then
      stop()
      ching()
   end
end


if im understand right, then give a try Smiley

but for me its something stpd and nonsense, what are you asking Cheesy

you asking on win get back to basebet (1satoshi) then where are logic to say that you need get back to 1satoshi bet, after profit 100satoshi? Cheesy basebet will be 1satoshi after every win, or maybe you want increase on win to?! try to think better what you want Wink