wildhorsend Posted October 22, 2007 Share Posted October 22, 2007 (edited) Please help me flow code. I want to write autoit code for auto using manashied skill each 2 minute then continue using evil skill in game online MU (mu.gate.vn). The Tooltip display but no key send to MU.; Here codeOpt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)Opt("TrayMenuMode",1)Opt("MouseClickDownDelay",1)Opt("MouseClickDelay",1)Opt("SendKeyDownDelay",1)Opt("SendKeyDelay",1)Global $Paused, $ManaShied, $Evil$ManaShied = "2" ;ManaShied Skill$Evil = "1" ;Evil SkillHotKeySet("^a", "AutoManaShied") ;Ctrl+a for auto or stop auto manashiedGlobal $hWnd = WinGetHandle("MU")Global $sHWND = String($hWnd) ; Convert to a stringFunc AutoManaShied() $Paused = NOT $Paused While $Paused If WinActive("MU") Then sleep(60000) Send($ManaShied) ; or Send("2") but It not send to MU Sleep(500) Send($Evil) ; or Send("1") but It not send to MU ToolTip("Auto ManaShied runing") EndIf WEnd ToolTip("")EndFuncWhile 1 Sleep(100)WEnd Edited October 22, 2007 by wildhorsend 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