Self is a dialect of JavaScript, so supports most JavaScript syntax including arrays and objects. See, https://www.botlibre.com/manual-self.jsp You can also use lists in a pattern from a response list or AIML. Pattern("Is [a an] [cat dog horse] an animal?") Yes, it is an animal.