Ok. I just tried it again and it seems to be working fine. Anyway, I'll still post my function. It's in a bad state at the moment -_- lol
Here's my function that's causing the problem.
Code:
procedure fightCow;
begin
if (LoggedIn)then
begin
if not(infight()) then
if (findcolorspiraltolerance(x, y, 7308962, msx1, msy1, msx2, msy2, 10)) then
begin
Mouse(x, y, 4, 4,true);
cows:= cows + 1
end;
end;
I know it's not finished, I spent very little time on it last night as I was tired.
Anyway, thanks for the replies. I'll try this out again.