Hello Guest

Need help in a script

  • 1 Replies
  • 1052 Views
*

oatiiz149

  • *
  • 1
  • +0/-0
    • View Profile
Need help in a script
« on: November 01, 2018, 04:33:39 am »
Hi to all programmers. Hope you all are doing well.

Sorry for my english.

I want to write code something like this. (martingale)

Base bet chance 50% at price 0.00001

if lose
    Bet chance change +10%(up to 90% and max at 95%) with Price bet cover lose bets before.
or win
    Reset to base.


contact my telegram @OATIIZ

And i bet at www.crypto-games.net (house edge 0.8%), This site is fair?

Thanks you.
« Last Edit: November 01, 2018, 10:12:38 am by oatiiz149 »

*

Vaillant

  • *
  • 3
  • +0/-0
  • Contact me on Telegram : @VaillantTM
    • View Profile
Re: Need help in a script
« Reply #1 on: November 03, 2018, 03:08:53 pm »
Hi Oatiiz149, here is the code of your program, you can change the value you want in the (BETTING SETTING) part.

Have Fun !

Code: [Select]
-- SETUP
enablezz = false
enablesrc = false
bethigh = false

-- BETTING SETTING
basebet = 0.00001 -- Choose bet
chance = 50
percent = 10
basechance = 50
limitchance = 90
maxchance = 95

-- STRATEGY
nextbet = basebet

-- START
function dobet()

if win then
chance = basechance
else

if chance <= limitchance/1.1 then
chance *= (1+(percent/100))
else
if chance <= maxchance/1.1 then
chance *= 1*(precent/1000)
else
chance = basechance
end
end

end

if profit <= 0 then
nextbet = math.floor(100000000*((100/lastBet.Chance)*math.abs(currentprofit)))/100000000
else
nextbet = basebet
end

print("\nChance = "..chance)
print("Bet = "..nextbet)
end
« Last Edit: November 03, 2018, 03:11:55 pm by Vaillant »