Advertisement
Guest User

Untitled

a guest
May 15th, 2020
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6. Seed = 170
  7.  
  8. F9::
  9. Send, !{f4}
  10. Sleep, 1000
  11. Run, Diablo II.exe -w -seed %Seed%, D:\Diablo II
  12. Sleep, 1000
  13. Send, {enter}
  14. Sleep, 100
  15. MouseClick, left, 398, 334
  16. Send, {enter}
  17. Sleep, 500
  18. Send, {tab}
  19. Sleep, 500
  20. Send, {enter}
  21. Sleep, 500
  22. Send, %Seed%
  23. Send, {enter}
  24. Seed++
  25. return
  26.  
  27. F10::
  28. FileAppend , %Seed%`n, topleft.txt
  29. Send, !{f4}
  30. Sleep, 6000
  31. Run, Diablo II.exe -w -seed %Seed%, D:\Diablo II
  32. Sleep, 1000
  33. Send, {enter}
  34. Sleep, 100
  35. MouseClick, left, 398, 334
  36. Send, {enter}
  37. Sleep, 500
  38. Send, {tab}
  39. Sleep, 500
  40. Send, {enter}
  41. Sleep, 500
  42. Send, %Seed%
  43. Send, {enter}
  44. Seed++
  45. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement