Hi,
I use bots a lot for my gambling, but since I have zero experience in coding I need some help adding a feature to one of my scripts.
This is the code I want modified:
chance = 90
bethigh = true
basebet = 0.00000200
nextbet = basebet
-- SET PROFIT TARGET
profittarget= 1.0000000
function dobet()
if (win) then
chance = 90.00
nextbet = basebet
else
if chance == 19.80 then
nextbet = previousbet * 1.255
else
chance = 19.80
nextbet = 0.00000060
bethigh = !bethigh
end
end
if (balance) >= profittarget then
ching()
alarm()
print("Your Balance is ") print(balance)
print(" ")
print("TARGET ACHIEVED!!!")
print(" ")
print("You Won ") print(profit) print(" for this Session")
print(" ")
stop()
print(" ")
end
end
I want to add the feature invest on it, so that when I hit my profit target it auto invest the profit and the restarts. I'm using the script together with seuntjies bot on Just-dice. Where should i add the invest part and restart?