unsane

Path of Exile - Trade Posts

Jan 2nd, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. global TradeChannel = 10
  2.  
  3. SetTimer process_watcher, 2000
  4. Run PathOfExile.exe, C:\Program Files (x86)\Path of Exile
  5. process_watcher:
  6. Process Exist, PathOfExile.exe
  7. If ErrorLevel = 0
  8. Exitapp
  9. return
  10.  
  11. F10::TradeChange()
  12. F12::TradePost()
  13.  
  14. TradeChange(){
  15. if WinActive("Path of Exile")
  16. {
  17. BlockInput On
  18. Send {Enter}/trade %TradeChannel%{Enter}
  19. BlockInput Off
  20. TradeChannel--
  21. }
  22. return
  23. }
  24.  
  25. TradePost(){
  26. if WinActive("Path of Exile")
  27. {
  28. BlockInput On
  29. Send {Enter}$%Clipboard%{Enter}
  30. BlockInput Off
  31. }
  32. return
  33. }
Advertisement
Add Comment
Please, Sign In to add comment