Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. custom_require.call(%w[common drinfomon equipmanager])
  2.  
  3. class TuskyRunner
  4. def initialize
  5. @equipment_manager = EquipmentManager.new
  6. monitorloop
  7. end
  8.  
  9. def monitorloop
  10. include = ['tusky']
  11.  
  12. while line = get
  13. if include.any? { |w| line[w] }
  14. if Script.running?('combat-trainer')
  15. fput('face tusky')
  16. pause 30
  17. end
  18. # if Script.running?('combat-trainer')
  19. # stop_script('hunting-buddy')
  20. # DRC.bput('release cyclic',".*")
  21. # @equipment_manager.empty_hands
  22. # pause 1
  23. # fput('stow bola')
  24. # fput('stow javelin')
  25. # fput('stow left') if DRC.left_hand
  26. # fput('stow right') if DRC.right_hand
  27. # DRC.bput('release',".*")
  28. # end
  29. end
  30. end
  31. end
  32. end
  33.  
  34. TuskyRunner.new
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement