Guest User

Untitled

a guest
Oct 21st, 2019
230
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. toggle:=true
  13. loop {
  14. if( toggle )
  15. {
  16. if( !chat )
  17. {
  18. if ( chat )
  19. break
  20. random, delay2, 57, 114
  21. random, delay3, 57, 114
  22. random, delay4, 57, 114
  23. random, delay5, 57, 114
  24. send, 1
  25. sleep, %delay2%
  26. if ( chat )
  27. break
  28. send, 2
  29. sleep, %delay3%
  30. if ( chat )
  31. break
  32. send, 3
  33. sleep, %delay4%
  34. if ( chat )
  35. break
  36. send, 4
  37. sleep, %delay5%
  38. if ( chat )
  39. break
  40. send, 5
  41. sleep, 3600
  42. }
  43. else
  44. {
  45. sleep, 1000
  46. }
  47. }
  48. else
  49. {
  50. break
  51. }
  52. }
  53. return
  54.  
  55. Down::
  56. if ( chat )
  57. {
  58. send, {Down}
  59. return
  60. }
  61. toggle:=false
  62. return
  63.  
  64. Enter::
  65. send, {Enter}
  66. chat:=!chat
  67. return
  68.  
  69. Escape::
  70. chat:=false
  71. send, {Escape}
  72. return
RAW Paste Data