Guest User

Untitled

a guest
Feb 1st, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.68 KB | None | 0 0
  1. Dim $action, $time, $numactions, $time2
  2. While True
  3.    Sleep(Random(257432,554236,1))
  4.    for $numactions = Random(1,4,1) to 4
  5.      $action = Random(1,6,1)
  6.      $time = Random(20,1500,1)
  7.      $time2 = Random(20,300,1)
  8.      Switch $action
  9.        Case 1
  10.          $action = "{w}"
  11.        Case 2
  12.          $action = "{s}"
  13.        Case 3
  14.          $action = "{q}"
  15.        Case 4
  16.          $action = "{e}"
  17.        Case 5
  18.          $action = "{Left}"
  19.        Case 6
  20.          $action = "{Right}"
  21.        Case Else
  22.          $action = "{Left}"
  23.      EndSwitch
  24.      Opt("SendKeyDownDelay", $time)
  25.      Opt("SendKeyDelay", $time2)
  26.      ControlSend( "World of Warcraft", "", "", $action)
  27.    Next
  28. WEnd
Add Comment
Please, Sign In to add comment