Robbiej
05-13-2007, 12:17 PM
Hey guys,
i'm making this banking script... My first script, but i've got this problem. Let me explain:
My code to move to the bank.
procedure MoveToBank;
begin
Writeln('Searching for bank...');
if(FindColor(x,y,BankColor,0,0,600,600)) then
begin
Writeln('Bank found!');
MoveMouseSmooth(x,y);
Wait(500);
ClickMouse(x,y,true);
end else
begin
Writeln('Bank not found!');
end
end;
What's wrong with this? I'm sure the BankColor is correct, i've even tried to change the bank color to a color you can see very clear. It keeps saying 'Bank not found!'
i'm making this banking script... My first script, but i've got this problem. Let me explain:
My code to move to the bank.
procedure MoveToBank;
begin
Writeln('Searching for bank...');
if(FindColor(x,y,BankColor,0,0,600,600)) then
begin
Writeln('Bank found!');
MoveMouseSmooth(x,y);
Wait(500);
ClickMouse(x,y,true);
end else
begin
Writeln('Bank not found!');
end
end;
What's wrong with this? I'm sure the BankColor is correct, i've even tried to change the bank color to a color you can see very clear. It keeps saying 'Bank not found!'