Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fput "Ask mags for task"
- while line = get
- if line =~ /^The firewood peddler Mags says, "I do have a small task I'd like for you to perform\. I need (\w*) bits of dirt\. If you could get those for me, I would greatly appreciate it\."/
- amount = $1
- thing = dirt
- place = negate
- echo "#{thing} #{amount} #{place}"
- break
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement