Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. script.want_downstream_xml
  2. class FahiWatch
  3. def initialize
  4. no_pause_all
  5. no_kill_all
  6. monitorloop
  7. end
  8.  
  9. def monitorloop
  10. #'[Trade] Your mind hears',
  11. include = ['Cayra just arrived','Fahijeck traces','Deadly Shadow Fahijeck came across a heavy oaken plank','Fahijeck gestures','You notice as a tan bear lumbers into the area','The tan bear begins to watch the goings on carefully','Deadly Shadow Fahijeck just arrived, leading his group','Deadly Shadow Fahijeck just arrived','Cayra begins to advance on you!','Fahijeck just arrived','Zehira has arrived','Fahijeck traces','Fahijeck gestures at you']
  12. exclude = ['and says,']
  13.  
  14. # include << checkname
  15. # include << checkname.downcase
  16. while line = get
  17. if exclude.any? { |w| line[w] }
  18. next
  19. end
  20. if include.any? { |w| line[w] }
  21. stop_script('training-manager') if Script.running?('training-manager')
  22. stop_script('hunting-buddy') if Script.running?('hunting-buddy')
  23. stop_script('combat-trainer') if Script.running?('combat-trainer')
  24. stop_script('crossing-training') if Script.running?('crossing-training')
  25. stop_script('mechlore') if Script.running?('mechlore')
  26. stop_script('pick') if Script.running?('pick')
  27. stop_script('first-aid') if Script.running?('first-aid')
  28. fput("release spell")
  29. fput("release sym")
  30. fput("prep rf")
  31. pause 1
  32. fput("cast rf")
  33. fput("stow bola")
  34. fput("stow hammer")
  35. fput("stow left")
  36. fput("stow right")
  37. DRCT.walk_to(2629) until Room.current.id == 2629
  38. pause 300
  39. fput("release rf")
  40. start_script('training-manager')
  41. end
  42. end
  43. end
  44. end
  45.  
  46. FahiWatch.new
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement