I hate dealing with the inconsistencies between SF and Wizard... try this:
Code:
line = matchafter("In the [^,]+ you see", "There is nothing in there.")
if line.empty? or line.nil?
# There's nothing in it... the "matchafter" command returned an empty string, meaning it saw the second option and there's nothing on the line after "There is nothing in there."
exit
end
array_of_items = parse_list(line)
echo array_of_items
Should put an array of all the items in "array_of_items" with no weirdness being part of it, but it's off-the-cuff and untested, so take it with a grain of salt. If you're not familiar with it, the "matchafter" function just returns whatever came after the matching portion of the line.
I visualize a time when we will be to robots what dogs are to humans, and I'm rooting for the machines. -- Claude Shannon