divide = 10000
b = balance/divide
i = balance
t = balance
c = balance/divide
h = balance
y = 0
chance = 49.5
bethigh = true
nextbet = b
target = 50000
resetstats()
function dobet()
if (balance>h) then
h = balance
end
if (balance<=(h-(c*4))) then
nextbet = previousbet*2
c = nextbet
h = balance
end
if (balance<t) then
t = balance
end
if (balance>=(t+(c*7))) then
nextbet = previousbet*2
c = nextbet
t = balance
end
if (balance>=i) then
nextbet = b
t = balance
c = b
h = balance
y = math.random(1,2)
i = balance
if (y==2) then
bethigh = !bethigh
end
end
if (balance>target) then
stop()
end
end
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}