Self-explanatory (is that a word?)
I don't know if you guys find it useful but i do.
SCAR Code:procedure Click(left: boolean);
var
x, y: integer;
begin
GetMousePos(x, y);
HoldMouse(x, y, left);
wait(50+random(20));
ReleaseMouse(x, y, left);
end;
Self-explanatory (is that a word?)
I don't know if you guys find it useful but i do.
SCAR Code:procedure Click(left: boolean);
var
x, y: integer;
begin
GetMousePos(x, y);
HoldMouse(x, y, left);
wait(50+random(20));
ReleaseMouse(x, y, left);
end;
Hmm...
Does it really need its own procedure? This procedure could really be just:
SCAR Code:procedure Click(left: boolean);
var
x, y: integer;
begin
GetMousePos(x, y);
Mouse(x,y,0,0,left);
end;
?
Edit: Like Infintry said below, I also use the same thing for clicking (as you should). But it's just 2 lines like above.
Last edited by JAD; 08-17-2009 at 04:22 AM.

I use something similar to this, for occasions such as after I use MMouse to check the uptext. I don't want to use Mouse again, as this changes the location of the actual mouse.
I think this has been suggested millions of times before, and I can still not understand why it's never made its way into the include :/
I support this.
Scripts: Varrock Smither! | Fight Caves Runner! | Kebab Buyer! | L.A.M.E. (Outdated)
Tutorials: SRL user-defined procedures | JaGex UID files | Printing your scripts
Applications: StartUp Notepad | SCAR Assistant
Misc: FREE Delphi 7 v2 | Official SRL Graphics
There are currently 1 users browsing this thread. (0 members and 1 guests)