Simba Code:
repeat
inc(count);
a :=MSCX
b :=MSCY
FindColorSpiralTolerance(a, b, 6898000, MSX1, MSY1, MSX2, MSY2, 12);
Mouse(a, b, 2, 2, false);
until
(ChooseOption('nk Ba')) or (count>8);
The problem here lies within the code. Simply put, the client doesnt react fast enough for the script to detect the bank option. So you need to put a wait procedure in between.
Also, ChooseOption does not support SPACES BETWEEN OPTIONS. Ergo, you just type one word or partial to it. So type
Simba Code:
ChooseOption('Use');
//OR if you want to pick more than one word
ChooseOptionMulti(['Use', 'Bank']);
your loop function needs work. Ill introduce you to the Break; procedure
Simba Code:
repeat
if FindColor... then
begin
Mouse...
Wait(500); //This gives the client some time to load so the script can follow.
if ChooseOptionMulti(['Bank', 'Banker']) then
Break; //This states that the script will break from the repeat!
end;
until (False); //False means it will go on FOREVER;
Make sure your color is correct, and thats my story for you. Reply if any questions.