Hello Guest

a little help with my script? ;P

  • 1 Replies
  • 141 Views
*

probablyfair

  • *
  • 3
  • +0/-0
    • View Profile
a little help with my script? ;P
« on: August 08, 2020, 11:25:28 pm »
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? :(

*

probablyfair

  • *
  • 3
  • +0/-0
    • View Profile
Re: a little help with my script? ;P
« Reply #1 on: August 25, 2020, 08:49:56 pm »
i will  pay someone to help me. lol
0.001

-__-