Adblock breaks this site

Needing command advice

Discussion in 'Scar/Simba Help' started by dehandel, Jul 26, 2007.

  1. dehandel

    dehandel Newcomer

    Joined:
    Jul 26, 2007
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0
    Needing command advice

    I can't find a good mousemacro anywhere, so I have decided to simply program it on scar.
    My question is quite simple: with what commands can I make the mouse move to given coordinates (and how do I give the coordinates), how do I make it click left mouse, and how do I make it repeat the program?
     
  2. crossback7

    crossback7 Active Member

    Joined:
    Jun 12, 2007
    Posts:
    202
    Referrals:
    0
    Sythe Gold:
    0
    Needing command advice

    Mouse(x,y,2,2,true) That will move the mouse to the coordinates (x & y). The 2, 2 is the randomness for the coordinates (2 pixels) just to make it more undetectable. True will make it left click.

    To Find the coordinates, you could pick a color and put it in and use something like FindSpiralColorTolerance (Look in SRL manual to learn more).

    PM me if you just want me to make one for you. . .
     
< A few scripting qustions | im new at scar please help >


 
 
Adblock breaks this site