I changed it some more and now need some help with something I've been noticing. I have noticed that even after I close the script the mouse is acting weird....double clicking when I only click once and stuff or as I am dragging something its clicking. So I was trying to make it only work in Mu but I am not sure how to do that, but from what I read I added that part from IfWinExist to WinActivate. Can someone help me to get this to work ONLY inside Mu?
Code:
;MuOnline Combo and Skill Hotkey
;By: BliNDFury
;
IfWinExist Mu
{
WinActivate
}
else
{
WinWait Mu
WinActivate
}
;Auto Skill Attack
XButton1::
Sendinput, {3 Down}
Sendinput, {3 Up}
Click, Right, Down
Return
;Quick Combo Attack
XButton2::
Click, Right, Down
Sleep 30
Sendinput, {1 Down}{Sleep 2}
Sendinput, {2 Down}{Sleep 2}
Sendinput, {3 Down}{Sleep 2}
Sendinput, {4 Down}{Sleep 2}
Sendinput, {1 Up}{Sleep 5}
Sendinput, {2 Up}{Sleep 5}
Sendinput, {3 Up}{Sleep 5}
Sendinput, {4 Up}{Sleep 5}
Sleep 5
Click, Right, Up
Sleep 5
Sendinput, {1 Down}
Sleep 50
Sendinput, {1 Up}
Return
;Quick Combo Attack PK
+z::
Click, Right, Down
Sendinput, {LCtrl Down}
Sleep 30
Sendinput, {1 Down}{Sleep 2}
Sendinput, {2 Down}{Sleep 2}
Sendinput, {3 Down}{Sleep 2}
Sendinput, {4 Down}{Sleep 2}
Sendinput, {1 Up}{Sleep 5}
Sendinput, {2 Up}{Sleep 5}
Sendinput, {3 Up}{Sleep 5}
Sendinput, {4 Up}{Sleep 5}
Sleep 5
Click, Right, Up
Sendinput, {LCtrl Up}
Sleep 5
Sendinput, {1 Down}
Sleep 50
Sendinput, {1 Up}
Return