Hello Guest

Help for automotic withdrawal script

  • 1 Replies
  • 951 Views
*

Novanrnt

  • *
  • 2
  • +0/-0
    • View Profile
Help for automotic withdrawal script
« on: July 24, 2018, 11:36:17 am »
Hello boss

I want to creat script for automatic withdraw
Example if 12 bet withdrawal 3 doge  very simple but im fail to creat script this sccript please review

Code: [Select]
chance = 90
bethigh = true
basebet = 0.0000001
nextbet = basebet
betcount = 15



--set targets
amount=3100              -- Amount to withdraw

function dobet()
-Change withdraw adress
if betcount == 15 then
  withdraw(amount,"your address here")
print(" adeeress ")
  print("CONTINUING TO WIN MORE!!!")
end

if (win) then
chance = 90
basebet = 0.0000001
    nextbet = basebet
end
  resetseed();



end

end

This script withdraw every bet, please correct my script boss thanks

*

Seuntjie

  • *****
  • 138
  • +0/-1
    • View Profile
Re: Help for automotic withdrawal script
« Reply #1 on: September 19, 2018, 07:50:06 am »
Code: [Select]
betcount=15
.
.
.
if betcount == 15
withdraw



See the problem here? Betcount will always be 15, so your if will always pass.

If you want to withdraw every 15 bets, use the bets variable and the modulus operator:

Code: [Select]
if bets%betcount==0 then

See the quote below
The currentstreak variable is your current winning (+) or losing (-) streak. For example, when currentstreak is 3, you have won 3 bets in a row, if it is -4, you have lost 4 bets in a row.
Alternatively, there's the wins variable, which is the total number of wins you've had since starting the bot or since you last reset your stats.

You can use the modulus operator to determine when something is a factor of something else, for example

Code: [Select]
if currentstreak%3==0 and win then
--this will execute after EVERY 3 winning bets in a row, so after 3 in a row, 6 in a row, 9 in a row etc
end
if currentstreak==3 then
--this will execute after exactly 3 wins in a row
end
if wins%3==0 and win then
--after every 3 wins, regardless of whether they are in a streak or not
end
if wins == 3 then
--after you've won exactly 3 bets and then never again
end