there's nothing wrong with that code that I can find. I created a blank game from the template game and pasted that code as a new logic in that game, then added all the appropriate words, and it worked fine.
so, do this:
if (said("examine")) {
print("There is a man at the ticket counter, and a door that reads "
"'bathroom'. Hey, is that shit on the ground near the bathroom door?");
}
// don't know the number off the top of my head;
// you should use defines anyway
reset(input_parsed);
if (said("talk","man")) {
print("Hello.");
}
and see if that changes anything.