Jump to content
Halkclaw

Help with Script

Recommended Posts

I tried running this, but it doesn't work anymore (it did used to) At line 4 it says Type Mismatch is there a way to fix this script so it works again? I can't find anything on google, and have been searching for like 2 hours, and still searching.

 

The script is ultimatly supposed to Press F10, F11, and F12 rapidly, and keep doing it until i stop the script myself.

 

Here is the script i use:

 

program TFGmage;

begin

repeat

KeyDown(121);

Sleep(10);

KeyUp(121);

KeyDown(122);

Sleep(8);

KeyUp(122);

KeyDown(123);

Sleep(10);

KeyUp(123);

until(False);

end.

Edited by Halkclaw
Wrong Code was typo
Link to comment
Share on other sites

Those should work I do not see why not. But you could this:

 

The numbers e.g. 800, and 1000. If this still does not work try setting them to 0.

 

[scar]

program TFGmage;

begin

Repeat

PressVKeyEx(VK_F10, 1000);

PressVKeyEx(VK_F11, 800);

PressVKeyEx(VK_F12, 800);

until(False);

end.

[/scar]

 

This is just another way to accomplish that same thing in SCAR.

 

Also in order to display SCAR Scripts in posts use [-scar][-/scar] tags in posts without the dashes

Edited by LordJashin
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...