<category>
i would like * </pattern>
<template>Allow me to get that <set name=“nameUser”> <star> </set> for ya</template> <set name=“topic”>supply</set>
</category>
<category>
^ get ^ *</pattern>
<template><srai>i would like *</srai></template>
</category>
I am currently making a merchant for one of my classes and he is able to sell whatever the user wants. In the first line of coding I set a response that stores the user’s input and responds with “Allow me to get that _____ for ya” However, since there are many ways one could ask to purchase items, I attempted to use wildcards so that when the program sees these words it will respond with the desired response. However, I have been unable to get it to work, please help DX