The forum is a good platform for asking or offering help with programmer mode scripts
LUA Scripts
Bets at a random chance between 1 and 5% and increases with 10% on a loss
Seuntjie How to making script to close if target reach ( need add target this script) ------------------------------- chance = math.random(1,5) bethigh = true basebet = 0.00000001 nextbet = basebet function dobet() chance = math.random(1,5) if (win) then nextbet = basebet bethigh = !bethigh else nextbet = previousbet * 1.1 end end -------------------- Regards on yuor advise
Hi Seuntjie. How could I insert a random chance in this script: chance = 45 winbets = {.00000002, .00000004, .00000008, .00000016, .00000032, .00000064, .00000128, .00000256, .00000512, .00001024, .00002048, .00004096} maxbets = #winbets basebet = .00000001 startbalance = balance nextbet = basebet savefactor = 1.25 target = .01 targetbalance = balance + target bethigh = true low = 0 high = 0 losecount = 0 stopnow = false totallose = 0 wincount = 0 nextwinbet = 1 go = false set = false function dobet() if (lastBet.roll < chance) then low += 1 end if (lastBet.roll > (100 - chance)) then high += 1 end if (win) then wincount += 1 totallose = 0 newbalance = balance if (high > low) then bethigh = true else bethigh = false end if (wincount == 1 and go) then nextbet = winbets[nextwinbet] go = false set = false else nextbet = basebet end if (wincount == 2 and previousbet != basebet) then if (stopnow) then stop() end nextwinbet = 1 set = true losecount = 0 if (balance > targetbalance) then invest((balance - targetbalance)+target) targetbalance = targetbalance + target newbalance = targetbalance end if (newbalance > startbalance * savefactor) then invest(balance-startbalance) targetbalance = startbalance + target startbalance = startbalance * savefactor end end if (wincount == 2) then go = true end else if (wincount == 1 and previousbet != basebet ) then nextwinbet += 1 if (nextwinbet > maxbets) then stop() end losecount += 1 print(losecount) else end wincount = 0 totallose = totallose + 1 if (totallose == 2) then go = true end nextbet = basebet end end
Hey Sentije I`m trying to add something also to the script if you can help me with that i will be very grateful i want to keep it almost how you made it just to add some more options if that is possible. I would like to meke it something like this . Thanks in advance. basically i want to make it to start with 4.3 chance multiplayer 10 % after 10 wins to switch to 12 chance multiplayer 22 % after 10 wins to switch to 1 chance multiplayer 2.2 % and also i would like to add before it switch to next one to make a pause for 5 minutes and start the next one and so on. just to rotate this 3 options . do you think is possible >? chance = 4.3 betlow = true basebet = 0.000001 nextbet = basebet function dobet() chance = 4.3 if (win) then nextbet = basebet betlow = !betlow else nextbet = previousbet * 1.1 end after tenwin=true then set chance = 12 betlow = true basebet=0.000001 nextbet = basebet function dobet() if (win) then nextbet = basebet betlow = !betlow else nextbet = previousbet * 1.22 end after tenwin=true then set chancve = 1 basebet=0.000001 nextbet = basebet function dobet() then after twowin=true start over end
I typically don't help write scripts. You can ask for help https://bitcointalk.org/index.php?topic=1114503.new#new
Ok thanks any way just can you tell me is there a possibility to add a pause to the bot ?
This comment has been removed.
ANYONE HELP ME please i haveone script of 999dice of dogecoin and the script contains somethibg like this ?? resetseed() withdraw(i,"DLJ6YTdoojCkK3GFKWEc5srgcfsqDNf7rS") print(" ") print("target: "..target) print("nextbet: "..nextbet) print("chance: "..chance) print("Profit to go: "..target - balance) print(" ") end I DONT KNOW WHAT THIS MEAN ? aNYONE explain me and this script is made by my friend is my amount withdraws to his account ? and after some time the scriot stops with a error saying "something went wrong" i dont know whether you guys understood my explaination above if youre free help me my email=FOREIGNAC4063@GMAIL.COM telgram= @jonathandoe