hey, i just wrote this quickly. i didnt test it or anything so it might not work
SCAR Code:
program New;
{.Include SRL/SRL.SCAR}
var
TPA : TPointArray;
x, y : Integer;
const
Color = 0; //The Color of the red dot
X1 = 0;
Y1 = 0;
X2 = 0;
Y2 = 0;
tolerance = 7;
waitTime = 300; // How many milliseconds to wait between moving the mouse. the smaller the number the less the mouse will jump, but the more the script will lag.
begin
repeat
if FindColorsSpiralTolerance(x, y, TPA, Color, X1, Y1, X2, Y2, tolerance) then
begin
MMouse(x, y, 0, 0);
Wait(waitTime);
end;
until(false);
end.
pretty much for x1, y1, x2, y2 this is how you want it
SCAR Code:
. y1
_____________
| |
x1| |x2
|_____________|
y2
you wanna chose points at those locations around the game. hope this helps :]
Edit: i asume you dont mean the red dot on SMART... lol. if you are talking about SMART (runescape) that red dot IS the mouse.