They're just made up variables.... You can call them wherever you want...
In this case, they're what is known as a Boolean or True/False "flag" used to indicate a specific state...
Are we "betting high"? Yes or No? Etc
if highcount > 100 then
chance = 0.66
nextbet = previousbet*1.00725
bethigh = true
bettinghigh = true
elseif lowcount > 100 then
chance = 0.66
nextbet = previoubet*1.00725
bethigh = false
bettinglow = true
end
How would I define bettinghigh and bettinglow flags before the "function dobet()"?
Do I put like
bettinghigh = betting>=99.34
bettinglow = betting <=00.66
??
You will probably need to put in checks on the "bettingHigh = true" and "bettingLow = true" flags or you might find it switches from one to the other if both high and low hit 200+ streaks
I not sure how checking bettinghigh and bettinglow stops from both high and low bets from switching when both are over 200. Could you explain the logic a bit more?
Thank you.