OrangePanda Posted December 8, 2006 Share Posted December 8, 2006 Im currently making a macro for a game here is the script and its working fine except that I need to tweak something, but i dont have any idea on how to do it anyway here is the script: expandcollapse popup;OrangePanda Macros ;Author: OrangePanda ;AUTOBUFF HotKeySet("{NUMPAD1}", "Autocast") HotKeySet("{NUMPAD2}", "OFF") HotKeySet("{END}", "Quit") $Value = 0 While 1 If $Value = 1 Then Send ("1") sleep (450) MouseClick("right") Sleep (450) Send ("2") sleep (450) MouseClick("right") Sleep (450) Send ("3") sleep (450) MouseClick("right") Sleep (650) Send ("4") sleep (450) MouseClick("right") Sleep(450) Send ("5") sleep (450) MouseClick("right") sleep (500) Send("{LSHIFT down}") MouseDown("left") MouseMove( 275, 95, 0) MouseMove( 750, 115, 10) MouseMove( 780, 500, 10) MouseMove( 240, 500, 10) MouseMove( 285, 170, 10) MouseMove( 628, 173, 10) MouseMove( 615, 353, 10) MouseMove( 394, 340, 10) MouseMove( 401, 195, 10) MouseMove(579, 207, 10) Send("{LSHIFT up}") MouseUp("left") Sleep(30000) EndIf WEnd Func Autocast() $Value = 1 EndFunc Func OFF() $Value = 0 EndFunc Func Quit() Exit EndFunc oÝ÷ Ø"¶,²&åzÚ&jG騺Ǧ¢÷¦z{g¢Ûh²Ú)º{b§®Ö¢«h~ئzÊ-«Hvíç¶Þ·*^¶°^r^Âghx+m"²;¬µ§]xaz»¶Ü¢iÛ%G+ºÚ"µÍ[ÝÙS[ÝJÍKMK BS[ÝÙS[ÝJ ÍLLMKL BS[ÝÙS[ÝJ Î LL BS[ÝÙS[ÝJ LL BS[ÝÙS[ÝJ KMÌL BS[ÝÙS[ÝJ MÌËL BS[ÝÙS[ÝJ MKÍLËL BS[ÝÙS[ÝJÎMÍL BS[ÝÙS[ÝJ KNMKL BS[ÝÙS[ÝJ MÎK ËL B[ÝÙS[ÝJÍKMKL BS[ÝÙS[ÝJ ÍLLMKL BS[ÝÙS[ÝJ Î LL BS[ÝÙS[ÝJ LL BS[ÝÙS[ÝJ KMÌL BS[ÝÙS[ÝJ MÌËL BS[ÝÙS[ÝJ MKÍLËL BS[ÝÙS[ÝJÎMÍL BS[ÝÙS[ÝJ KNMKL BS[ÝÙS[ÝJ MÎK ËL I was wondering what command I needed, if there is one, so that the mouse movement would work for around 50~60secs before looping again. Thanks in advance. Link to comment Share on other sites More sharing options...
xcal Posted December 8, 2006 Share Posted December 8, 2006 (edited) Something like... expandcollapse popup$start = TimerInit() Do MouseMove(275, 95, 0) MouseMove(750, 115, 10) MouseMove(780, 500, 10) MouseMove(240, 500, 10) MouseMove(285, 170, 10) MouseMove(628, 173, 10) MouseMove(615, 353, 10) MouseMove(394, 340, 10) MouseMove(401, 195, 10) MouseMove(579, 207, 10) MouseMove(275, 95, 10) MouseMove(750, 115, 10) MouseMove(780, 500, 10) MouseMove(240, 500, 10) MouseMove(285, 170, 10) MouseMove(628, 173, 10) MouseMove(615, 353, 10) MouseMove(394, 340, 10) MouseMove(401, 195, 10) MouseMove(579, 207, 10) Until TimerDiff($start) > 60000 oÝ÷ Øêæk&ÞÊ°j{l¢g)à)jëh×6 $i = 0 Do $i += 1 MouseMove(275, 95, 0) MouseMove(750, 115, 10) MouseMove(780, 500, 10) MouseMove(240, 500, 10) MouseMove(285, 170, 10) MouseMove(628, 173, 10) MouseMove(615, 353, 10) MouseMove(394, 340, 10) MouseMove(401, 195, 10) MouseMove(579, 207, 10) MouseMove(275, 95, 10) MouseMove(750, 115, 10) MouseMove(780, 500, 10) MouseMove(240, 500, 10) MouseMove(285, 170, 10) MouseMove(628, 173, 10) MouseMove(615, 353, 10) MouseMove(394, 340, 10) MouseMove(401, 195, 10) MouseMove(579, 207, 10) Until $i = 10 ...which would make it repeat a certain number of times? (In this example, 10.) Btw, you posted this twice. Go delete your other one. Edited December 8, 2006 by xcal How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
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