like(LUA ERROR!!
'then' expected, got 'nextbet')
here is the code below
wagered=wagered+previousbet
chance=1.01
bethigh=false
profitterget=0.00100000
nextbet=baseBet
function dobet()
baseBet=0.00000001
end
if win then
nextbet=baseBet
else
nextbet=previousbet+baseBet
end
if currentstreak==-10
nextbet=0.00000020
if win then
nextbet=baseBet
else
nextbet=0.00000030
if win then
nextbet=baseBet
else
nextbet=0.00000050
if win then
nextbet=baseBet
else
nextbet=baseBet
end
if (balance) >= profittarget then
stop();
print(balance)
print("TARGET ACHIEVED!!!")
end
end
this basically what i want the script to do , but i dont know how to set the chances, and set the bet high or low for each bet
here is the full explaination sir (thank u in advanced)
let say i bet
0.00000002 and i win, i want it to go back to the basebet and bet 0.00000002
But if i bet 0.00000002 and loss, then i want it to multiply *2 of my loss so my next bet will be 0.00000004
then if i loss again i want it to still double up the nextbet to 0.00000008 till i win then i want it to go back to the basebet thats if i win (i only want 10 loss in a row b4 changing to the 90% chance)
EXAMPLE
it will look like this when the lossing occurs
0.00000002
0.00000004
0.00000008
0.00000016
0.00000032
0.00000064
0.00000128
0.00000256
0.00000512
0.00001024
till it reach 10losses but now lets assum its has reach 10losses
so when i get 10 losses i want the bet to change to 0.0003 with a 90%chance so if i dont win it i want it to change to 0.0006bet with 94%chance so if i dont win again i want the third bet to change to 0.001btc with a 95%chance
so if i in anycase win or loss THIS 90% 94% 95% CHANCES i want it to go back to base bet and restart again
pls help me