Magic Oreo
2012-05-15 22:48:45
I need help making a script that clicks a color if found every 30 seconds.
I searched and found something so this is my current script, it just holds the mouse in a certain place and doesn't actually click anything.
Help?
I also recieve the error
every time i compile it
I searched and found something so this is my current script, it just holds the mouse in a certain place and doesn't actually click anything.
program Colour;
{.include SRL/SRL.simba}
var
x, y : integer;
begin
If FindColorTolerance(x, y, 7422390, 0, 0, 772, 502, 35) Then
Mouse(x, y, 1, 1, True);
wait(30000);
end. Help?
I also recieve the error
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
[Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' every time i compile it