• Log in or sign up for an account here: https://www.sythe.org/login

move mouse random location then click

lichkinq

Newcomer
Joined
Jun 18, 2007
Sythe Gold
0
Messages
16
Code:
  begin
    movemousesmoothEx(x,y,192+random(67), 447+random(19))
    wait(500+random(300))
    clickmouse(x,y,true)
    Wait(500+random(300))
    movemousesmoothEx(x,y,438+random(67), 447+random(19))
    Wait(500+random(100))
    clickmouse(x,y, true)
    Wait(7000+random(750))
   end

I want to move the mouse to a random spot within set coords. And then click the mouse on that spot. How do I do this and have it set the x,y for the click? I only saw x,y being set when find(x,y, color, coords) was used(in the tut)

And also is there a simpler way to set where the mouse randomly moves to? I stopped scripting a while ago so i forgot a few things
 
Run scar, then click on the test script. nuff said.
 
not sure exactly what you mean "run the test script". I looked In the test scripts folder and there was way more than one. But I did find the get mouse position command which will work for what I was trying to do.
 
Runescape Gamblingrunescape gambling
Back
Top