[quote author=Spenceinator link=topic=153.msg750#msg750 date=1147269096]
Is there any sort of script for the mmg that would make a bet of say, 1000, and then double it if you lose. This is a tested and proven algorithem that really works unless you lose 27 times in a row.
[/quote]
MMG functionality is already built into KoLmafia. It isn't in scripts, but just running an ordinary Martingale like you want is the basic workflow for it.
http://forums.kingdomofloathing.com/viewtopic.php?t=54870 is a link to that thread.
On a personal level, I would encourage you to investigate Martingales further before risking your meat on it. In order for a Martingale to survive 27 losses with an initial bet of 1000 meat, you'd need a bankroll of well over one hundred billion meat, and you'd be laying all that on the table just for the hope of walking away with 1000 more meat than you had when you started. But you are welcome to learn from experience if that is your preference.
Edit: :-[ I added an illion instead of subtracting one. We're also failing to consider that you actually have to more than double your bet each round because you will need to cover an increasingly large house percentage when you do win. I mean, if you did make this hundred billion meat bet and finally won, you wouldn't actually be ahead 1000 meat because you'd have to tip the house a hundred million meat.
For homework tonight, students, calculate how much you actually have to risk on the twenty-seventh bet assuming that you wanted to "guarantee" winding up with the same result as winning a 1000 meat bet on the first round.