Hey guys,
I'm having a little issue with a very simple script i'm making.
It basicly just needs to search for the color of the lifebar and then click a monk.
I keep getting this error though:
"Exception in Script: Invalid evaluation at line 9, column 70"
Simba Code:program monkkiller;
Procedure ClickMonk;
var
x, y :Integer;
begin;
if FindColorSpiralTolerance(x, y, 65280, 1, 1, 511, 336, 5) then
begin;
FindColorSpiralTolerance(x, y, 2106718, 1, 1, 511, 336, 5) or;
FindColorSpiralTolerance(x, y, 3817636, 1, 1, 511, 336, 5) or;
FindColorSpiralTolerance(x, y, 3422867, 1, 1, 511, 336, 5) then;
MoveMouse (x, y);
wait(200)
ClickMouse(x, y, 1);
wait(1000);
end;
end;
begin
repeat
ClickMonk;
until(false);
end.
I'm very new to this stuff so would you guys mind taking a look? :D
Thanks.

