Code:
HotKeySet("{PAUSE}", "Escape")
Opt("SendKeyDelay", 15)
Opt("SendKeyDownDelay", 15)
AdlibRegister("Rotate", 12000)
;AdlibRegister("Summon", 1200000)
$hWnd = "Legendary Champions"
$attackdelay = 12000 ;amount of secs to kill
$skillone = 2
$skilltwo = 3
$buffkey = 4 ;bufffkey
$buffenabled = 1
$target = "{TAB}"
While 1 = 1
Call("Attack")
WEnd
Func Attack()
WinActivate($hWnd)
Send("{TAB}")
Send($skillone)
Sleep($attackdelay)
EndFunc ;==>Attack
Func Summon()
Send("h")
EndFunc ;==>Summon
Func Rotate()
Send("{Left down}")
Sleep(2500)
Send("{Left up}")
EndFunc ;==>Rotate
Func Escape()
AdlibUnRegister("Rotate")
Exit
EndFunc ;==>Escape






