someone_

TERA afk

Jun 5th, 2015
312
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Loop
  2. {
  3.     WinGet,tera,list,ahk_class LaunchUnrealUWindowsClient
  4.     Loop, %tera%
  5.     {
  6.         WinGetTitle,teratitle, % "ahk_id " tera%A_Index%
  7.         if (teratitle = "TERA")
  8.         {
  9.             ControlSend,,{space}, % "ahk_id " tera%A_Index%
  10.         }
  11.     }
  12.     Sleep 30000
  13. }
RAW Paste Data