Advertisement
dicekode

fn_

Feb 11th, 2024
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. print("")
  2. fn_simplestats()
  3. end
  4.  
  5. simplestats_balhi = balance
  6. simplestats_balst = balance
  7. simplestats_maxdrop,simplestats_profitc,simplestats_wager = 0,0,0
  8. function fn_simplestats()
  9. simplestats_wager += previousbet
  10. simplestats_profitc += currentprofit
  11. if (simplestats_profitc >= 0) then
  12. simplestats_profitc = 0
  13. simplestats_balhi = balance
  14. end
  15. simplestats_drop = simplestats_balhi - balance
  16. if (simplestats_drop > simplestats_maxdrop) then
  17. simplestats_maxdrop = simplestats_drop
  18. end
  19. print("░▒▓- Profit \t[ "..string.format("%.2f",profit/(balance-profit)*100).."% \t"..string.format("%.8f",profit).." ]")
  20. print("░▒▓- Wager \t[ "..string.format("%.2f",simplestats_wager/simplestats_balst*100).."% \t"..string.format("%.8f",simplestats_wager).." ]")
  21. print("░▒▓- Dropdown \t[ "..string.format("%.2f",simplestats_maxdrop/simplestats_balst*100).."% \t"..string.format("%.8f",simplestats_maxdrop).." ]")
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement