Hello Guest

Total loss

  • 1 Replies
  • 53 Views
*

Gustafff

  • **
  • 6
  • +1/-0
    • View Profile
Total loss
« on: April 09, 2019, 11:20:26 am »
Hello, what variable can I use to set the total loss after the last win, eg I bet 1, 2, 3, 4 my total loss is 10, I wanted to know how I can calculate this total

*

PMG

  • **
  • 19
  • +0/-0
    • View Profile
Re: Total loss
« Reply #1 on: April 10, 2019, 05:13:27 pm »
Hi Gustaffffff,

Code: [Select]
totalLoss += currentprofit
or

Code: [Select]
totalLoss +=lastBet.profit
or
Code: [Select]
if !win then
   totalLoss +=lastBet.amount
else
   totalLoss = 0
end