Abu3safeer

قتال تلقائي

Aug 19th, 2014
5,134
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.82 KB | None | 0 0
  1. #RequireAdmin
  2. AutoItSetOption("WinTitleMatchMode", 2)
  3.  
  4. $windowname = "Rappelz"
  5. ;$windowname = "VMware"
  6. $handle = WinGetHandle($windowname, "")
  7.  
  8. If @error Then
  9.     MsgBox(4096, "Error", "Fenster konnte nicht gefunden werden")
  10. Else
  11.     Sleep(20000) ; allows your rappelz window to reload the direct 3d content
  12.  
  13.     While 1
  14.         If WinActive($windowname) Then
  15.             Send("1")
  16.             Sleep(1000)
  17.             Send("2")
  18.             Sleep(1000)
  19.             Send("3")
  20.             Sleep(1000)
  21.             Send("4")
  22.             Sleep(1000)
  23.             Send("5")
  24.             Sleep(1000)
  25.             Send("6")
  26.             Sleep(1000)
  27.             Send("7")
  28.             Sleep(1000)
  29.             Send("8")
  30.             Sleep(1000)
  31.             Send("9")
  32.             Sleep(1000)
  33.             Send("0")
  34.             Sleep(1000)
  35.             Send("-")
  36.             Sleep(1000)
  37.             Send("=")
  38.             Sleep(1000)
  39.             Send("{v}")
  40.             Sleep(1000)
  41.             Send("{b}")
  42.             Sleep(1000)
  43.             Send("{n}")
  44.             Sleep(5000)
  45.         EndIf
  46.     WEnd
  47. EndIf
Advertisement