wait_limit is the maximum time the script will wait for a MMG event before checking if anything got messed up.
I think you could lead this script into infinite iteration by changing line 152:
Code:
if ( new_count > iterations )
change the condition into something always false, like
this way the script will keep running ignoring any iteration limit you entered
EDIT: I also slightly modified the script to use an anti-martingale betting system instead of a martingale one.
Instead of increasing the bet when losing, it increases it when winning.
It may sound like a losing strategy, but at least it is a safer one.
With a martingale system, in the best scenario you win (initial amount)*(itertions)*(chains), and in the worst scenario you completely bankrupt (like i did).
With an anti-martingale system, it's the opposite, so in the worst scenario you will lose (initial amount)*(itertions)*(chains) meat, and there is a small chance that your meat will skyrocket.
When you run it, in addition to the existing settings, you also will be asked for the maximum amount of times the script will increase your bet and if you want the script to stop if you get a succesful winning streak.
Also, a little question for Veracity. In your script you added a check if the property "mmgStopNow" is different than ""(blank), the script stops.
How can one modify the property while the script is running, if any CLI command gets queued after the script?