TriGuN Posted November 23, 2007 Posted November 23, 2007 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 1WEndfunc test()$pos = MouseGetPos()MouseMove($pos[1]+5,$pos[2]+5,10)Endfunc
Nahuel Posted November 23, 2007 Posted November 23, 2007 func test() $pos = MouseGetPos() MouseMove($pos[0]+5,$pos[1]+5,10) Endfunc Better?
Valuater Posted November 23, 2007 Posted November 23, 2007 Be sure to put a sleep in that "While" loop too! 8)
TriGuN Posted November 23, 2007 Author Posted November 23, 2007 Oupssssss, iam so stupid ! Thanks a lot ^^
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now