' This script bets the Field whenever 5 consecutive non-Field numbers have rolled.
' If the bet loses then a loss progression is run
' If the bet wins, then the progession starts over
' Win or lose - the next bet will be made only after another 5 non-Field rolls have rolled
' Progression max's out after 4 steps but can easily be extended
If
initializing script
Then
csn1 = "Number of consecutive non-Field rolls" :
csn2 = "Number of consecutive Field bet losses" :
csn3 = "Bet amount" :
GoTo "End"
EndIf
If
Field resolves
Then
If Field wins Then cs2.numlosses = 0 Else add 1 to cs2.numlosses EndIf
cs1.count = 0 :
remove Field :
GoTo "End"
EndIf
If
dice total = any(2, 3, 4, 9, 10, 11, 12)
Then
cs1.count = 0 ' starts the count over
Else
add 1 to cs1.count
EndIf
If cs2.numlosses = 0 Then cs3.betamount = 5
ElseIf cs2.numlosses = 1 Then cs3.betamount = 7
ElseIf cs2.numlosses = 2 Then cs3.betamount = 15
ElseIf cs2.numlosses = 3 Then cs3.betamount = 31
' add more progression steps here if desired
EndIf
If
cs1.count = 5
Then
Bet cs3.betamount on Field
EndIf
: "End" :