Sign in to follow this  
Followers 0
TriGuN

Problem with array

5 posts in this topic

Hello, i am making a bot for Dofus (french mmorpg) and i want to move my mouse under the actual position detected.

I tryed that, but dont work, incorrect syntax (at red word).

HotKeySet("{ENTER}","test")

While 1

WEnd

func test()

$pos = MouseGetPos()

MouseMove($pos[1]+5,$pos[2]+5,10)

Endfunc

Share this post


Link to post
Share on other sites



MouseMove($pos[0]+5,$pos[1]+5,10)

Share this post


Link to post
Share on other sites

func test()
$pos = MouseGetPos()
MouseMove($pos[0]+5,$pos[1]+5,10)
Endfunc

Better? :P

Share this post


Link to post
Share on other sites

Be sure to put a sleep in that "While" loop too!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Oupssssss, iam so stupid ! Thanks a lot ^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0