Advertisement
Pahzon

magtest

Nov 7th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. fput "Ask mags for task"
  2. while line = get
  3. 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\."/
  4. amount = $1
  5. thing = dirt
  6. place = negate
  7. echo "#{thing} #{amount} #{place}"
  8. break
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement