Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pettt

Pages: [1]
1
Programmer Mode / nextbet incrise proportionally to the balance
« on: May 17, 2021, 04:32:03 pm »
hi, im trying to made a script, i want the basebet increse based on the new balace after each win. i tried, balance/1410526, but the balance dont change, so i tried that:

 function dobet()
  totalbets+=1
    if (win) then
        nextbet = (balance+previousbet)/1410526
        won     = won+1
        lose    = 0
    else
        nextbet = (previousbet * iol)
        lose    = lose+1
        won     = 0
    end

what is wrong?

Pages: [1]