chance = 1
bethigh = true
basebet = 0.00000100
multiplier = 1.015
nextbet = basebet
function dobet()
if (win) then
chance = 2
nextbet = basebet
else
nextbet = previousbet * multiplier
else
if (win) then
chance = 3
nextbet = basebet
else
nextbet = previousbet * 1.025
else
if (win) then
chance = 4
nextbet = basebet
else
nextbet = previousbet*1.037
else
if (win) then
chance = 4
nextbet = basebet
else
nextbet = previousbet*1.045
end
end
end
end
the error i receive is "LUA ERROR!!
'end' expected, got 'else'"
I'm trying to write a script that plays for one payout at a certain raise, then moves onto the next at another certain raise after each win.. halp?