I would like a more leninat version of the function 'said' that rather than checking the whole string the player typed it would only check to see if the typed string contains the desired word. Rather than replace 'said' the function could have a name like spoke. For example lets say you want to run an interaction if the player uses the object 'beer' on the character 'Homer' you can check this with the code:
if (Parser.Spoke("beer")) and if (Parser.Spoke("Homer"))
if (Parser.Spoke("beer")) and if (Parser.Spoke("Homer"))