Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.want_downstream_xml
- class FahiWatch
- def initialize
- no_pause_all
- no_kill_all
- monitorloop
- end
- def monitorloop
- #'[Trade] Your mind hears',
- 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']
- exclude = ['and says,']
- # include << checkname
- # include << checkname.downcase
- while line = get
- if exclude.any? { |w| line[w] }
- next
- end
- if include.any? { |w| line[w] }
- stop_script('training-manager') if Script.running?('training-manager')
- stop_script('hunting-buddy') if Script.running?('hunting-buddy')
- stop_script('combat-trainer') if Script.running?('combat-trainer')
- stop_script('crossing-training') if Script.running?('crossing-training')
- stop_script('mechlore') if Script.running?('mechlore')
- stop_script('pick') if Script.running?('pick')
- stop_script('first-aid') if Script.running?('first-aid')
- fput("release spell")
- fput("release sym")
- fput("prep rf")
- pause 1
- fput("cast rf")
- fput("stow bola")
- fput("stow hammer")
- fput("stow left")
- fput("stow right")
- DRCT.walk_to(2629) until Room.current.id == 2629
- pause 300
- fput("release rf")
- start_script('training-manager')
- end
- end
- end
- end
- FahiWatch.new
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement