Hello Guest

HELP FOR 3 STREAKLOSS BOSS

  • 1 Replies
  • 1783 Views
*

Novanrnt

  • *
  • 2
  • +0/-0
    • View Profile
HELP FOR 3 STREAKLOSS BOSS
« on: June 27, 2018, 12:51:10 pm »
I creat script but cant work for martiangle after 3 loss in a row,  how i can put this code in script???

This  script
Code: [Select]
  if (!win) then
    losecount += 3
   if (losecount > 3) then
      nextbet = previousbet*2
   chance = math.random(minone*100.0, maxone*100.0)/100.0
    nextbet = previousbet * 2 


I want this script work for example

Bet 0.02 chance 50 loses
Bet 0.02 chance 20 loses
Bet 0.02 chance 30 loses
Bet 0.04 chance 20 loses
Bet 0.08 chance 20 win

I mean every 3 lose in row martiangle work!
Please help

Thanks for u help

*

Seuntjie

  • *****
  • 593
  • +17/-3
    • View Profile
Re: HELP FOR 3 STREAKLOSS BOSS
« Reply #1 on: June 27, 2018, 03:51:54 pm »
See this post where I explain how the modulus operator works:

https://forum.seuntjie.com/index.php?topic=69.msg157#msg157

Also see the tutorials on https://forum.seuntjie.com/index.php?topic=2.0 for a list of available variables and functions.