Jump to content
Sojiro

Auto-Click Script

Recommended Posts

I'm sorry if the answer to this is somewhere in the forum. I've honestly been looking and I couldn't really find it. I believe the script I'm trying to make is pretty simple but I just can't seem to get it down. I'm playing a game and all I want SCAR to do is just click in the spot I want it repetitively, like a specific coord. I used to have this script back 4-5 years ago and can't seem to do it again. I'm using SCAR 2.0.3 since back when I used this someone told me in the newer versions the silent mouse feature doesn't work as far as minimizing the screen and letting SCAR click on that screen coord while you can go about any other business you may need to tend to. Help. Please.

Link to comment
Share on other sites

begin
 repeat
   ClickMouse(100, 100, mbLeft);
   Wait(100);
 until (False);
end.

 

As for silent mouse: you'll have to use a virtual machine or something like that. Potentially make /or drag up an old application like APPA or SMART.

 

Sidenote: @Freddy

 

begin
 repeat
   ClickMouse(100, 100, TMouseButton(True));
 until False;
end.

 

"Compiler Error: Line 3 Type mismatch"

 

var
 B: Boolean;

begin
 repeat
   ClickMouse(100, 100, TMouseButton(B));
 until False;
end.

 

Successfully compiled

Edited by Wanted
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...