I'm trying to make a script where it searches for a color and clicks it. Any ideas how to do this? Its for this game called world of tanks.
This is what I have but its not working
any thoughts? I want it to click on this red "battle" button.Quote:
program Colour;
var
x, y : integer;
begin
If FindColor(x, y, 59751, 0, 0, 1276, 776) Then
begin
movemouse(x, y);
clickmouse(x, y, true);
end;
end.
http://img.photobucket.com/albums/v3...s/shot_001.jpg

