seems I have run into an issue
Code:
if checkbounty =~ /The gem dealer in Ta'Illistim, Tanzania, has received orders from multiple customers requesting (?:an?|some|piece|of) (.*). You have been tasked to retrieve (.*) of them./
gem_name = $1
gem_quantity = $2.to_i
gem_quantity.times{
fput "get my #{gem_name}"
fput "sell my #{gem_name}"
}
end
[sellgem]>get my green malachite stone
Get what?
>
[sellgem]>sell my green malachite stone
What were you referring to?
Is there a way to ignore everything between "requesting" and the gem's noun? I think it would be too difficult to try and determine the adjective of the noun as sometimes its the first word in a 3 word gem, sometimes its the second word...