Hate to ask again but I'm stuck again, keep getting invalid number of parameters error. This is my first time trying to click on colors plus I suck at scripting in general, so any help would be much appreciated. Here's the part of the script it gets stuck on:
program new;
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 3700107, 244, 87, 296, 125, 5) then
begin
MoveMouse(X, Y, 1,1);
Wait(250);
ClickMouse(X, Y, mouse_left);
end;
end;
It gets stuck on line 10, "ClickMouse(X, Y, mouse_left);" and I have no idea how to fix, thanks in advance if someone can help !
Edit: the lines are tabbed correctly, just don't show up on post.