hi
new trigger
set user variable  name (startbank or whatever)
value   IF(test_mode=1,test_balance,balance)
one time only
in your betting trigger
condition
and total_won is less than (the name you gave the bank variable)*1.10
the *1.10 will bet until your bank has increased to 10% or more
just change the .10 to whatever percent profit you want to stop betting
so .01 is 1%,  .25 is 25%
mcbee