Hello Guest

Reserve

  • 2 Replies
  • 160 Views
*

cr25048

  • *
  • 2
  • +0/-0
    • View Profile
Reserve
« on: May 05, 2020, 01:01:52 am »
Hello, sorry for my english. My question is ..

How can I know the loss that I will have in the next bet and not bet if my balance falls below a value?

*

ProbablyGay

  • **
  • 9
  • +0/-0
    • View Profile
Re: Reserve
« Reply #1 on: May 05, 2020, 09:17:10 am »
Quote
You can try any 3 of below codes which you like i prefer first one because it will recover back desired balance amount
For more info/help, Contact Discord: BECKY#8759
Telegram: sparkle777

Code: [Select]
safeBalance = 0.05000000    -- balance you want safe
largeBet = 0.00010000    -- not bet bigger than this amount

function dobet()

-- in below condition it will stop if balance is above >safeBalance

if (nextbet >= largeBet) and (balance >= safeBalance) then
     stop()
     print(" XX Danger ahead XX " ..balance)
     print("")
end

OR

Code: [Select]
safeBalance = 0.05000000    -- balance you want safe
largeBet = 0.00010000    -- not bet bigger than this amount

function dobet()

-- in below condition balance can stop below <safeBalance if nextbet is bigger

if (nextbet >= largeBet) and (balance <= safeBalance) then
     stop()
     print(" XX Danger ahead XX " ..balance)
     print("")
end

OR

Code: [Select]
safeBalance = 0.05000000    -- balance you want safe
largeBet = 0.00010000    -- not bet bigger than this amount

function dobet()

-- Both conditions will stop on each criteria

if (nextbet >= largeBet) then
     stop()
     print(" Bet is Higher ")
     print("")
end

if (balance <= safeBalance) then
     stop()
     print(" XX Danger ahead XX " ..balance)
     print("")
end


*

Seuntjie

  • *****
  • 481
  • +13/-2
    • View Profile
Re: Reserve
« Reply #2 on: May 05, 2020, 12:14:34 pm »
Alternatively, and I think this probably answers the question a bit better, is:

Code: [Select]
--your script
if balance - nextbet <= safebalance then
--do stuff here
end
--the rest of your script