Kozs
2013-03-04 18:32:10
Is it possible to make it so when I walk near the object, it detects and clicks it… For my Script I just want it to smith Rune2h's I spent like 3 days on it so far its very frustrating
Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 5264475, 718, 193, 718, 193, 5000) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
wait(3150);
Mouse(475,133,0,0,Mouse_Right); //selects rune bar
wait(3150);
Mouse(486,244,0,0,Mouse_Left); //withdraw all
wait(3150);
end;
end;
Begin
MouseSpeed := 15;
ClickBank;
SetupSRL;
end.