Guest User

Untitled

a guest
Oct 21st, 2019
127
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #IfWinActive, ahk_class POEWindowClass
  2.  
  3.  
  4. #MaxThreadsPerHotkey, 2
  5. chat:=false
  6. Up::
  7. if ( chat )
  8. {
  9. send, {Up}
  10. return
  11. }
  12. send, J
  13. toggle:=true
  14. loop {
  15. if( toggle )
  16. {
  17. if( !chat )
  18. {
  19. if ( chat )
  20. break
  21. random, delay2, 57, 114
  22. random, delay3, 57, 114
  23. random, delay4, 57, 114
  24. random, delay5, 57, 114
  25. send, 1
  26. sleep, %delay2%
  27. if ( chat )
  28. break
  29. send, 2
  30. sleep, %delay3%
  31. if ( chat )
  32. break
  33. send, 3
  34. sleep, %delay4%
  35. if ( chat )
  36. break
  37. send, 4
  38. sleep, %delay5%
  39. if ( chat )
  40. break
  41. send, 5
  42. send,r
  43. random, delayr, 57, 114
  44. sleep, 1200
  45. if ( chat )
  46. break
  47. send, r
  48. sleep %delayr%
  49. sleep, 1200
  50. if ( chat )
  51. break
  52. send, r
  53. sleep %delayr%
  54. sleep, 1200
  55. }
  56. else
  57. {
  58. sleep, 1000
  59. }
  60. }
  61. else
  62. {
  63. break
  64. }
  65. }
  66. return
  67.  
  68. Down::
  69. if ( chat )
  70. {
  71. send, {Down}
  72. return
  73. }
  74. toggle:=false
  75. return
  76.  
  77. Enter::
  78. send, {Enter}
  79. chat:=!chat
  80. return
  81.  
  82. Escape::
  83. chat:=false
  84. send, {Escape}
  85. return
RAW Paste Data