Basically, if you lose a lot, but hit in the beginning of a plateau, you will hit a lot.
If you lose a lot and hit at the end or middle of a plateau, you lose small, or break even.
Anyways, enough explaining, here's the script Smiley
You make it sound like this is a failsafe strategy.
The reality is that it is not. You are going to lose money in the long run regardless of what settings you use.
All of these dice bots are just an illusion of control. You don't have control over events other than the fact that you have a <100% RTP, so why bother with this? (unless you find it entertaining to set up bot scripts etc.)