Once again, thank you Sp1N!
This is almost perfect now, but there is a glitch with the betting that impacts on the bank balance.
After every winning bet the system bets once more when it should have stopped?
It also does the same after every progression bust?
By doing this it basically gives back any winnings two out of every three times, which kills the bankroll.
I haven't a clue how to fix it so could you take a look please?