If you have two patterns that match the same question then the pattern matching the first word will be used. AIML is not very good for supporting keywords, I would recommend a response list instead. For AIML for multiple keywords you can either use multiple categories, or use, <pattern>^ [keyword1 keyword2 keyword3] ^</pattern>