Autoit script HELP for Daily Auto Sign-In

02/19/2016 14:25 nozomiozama#1
hi, i just made a Autoit Script, its not working properly, can anyone pls help me, this is my first time to make an autoit script, my goal is,

after i log-in my toon, it should auto sign-in my daily attendance if i click my autoit script, but its not doing it right, kindly correct me pls.

here is my script:

HotKeySet ("{F1}", "myExit")

$x = WinActivate("Perfect World International: Eclipse")

while(1)

LC(1205,206)
LC(677,98)
Exit
WEnd

Func LC($x, $y)
MouseClick("left", $x, $y, 1, 1)
EndFunc


Func myExit()
MsgBox(0,"Exiting", "Bot is Quitting")
Exit
EndFunc