with your help in several threads I created a reply for Nightbot with this command: !addcom FIRST_WORD_OF_THE_SENTENCE $(eval $(query).includes(REST_OF_THE_SENTENCE)?RESPONSE:; )
My question is: is it possible to add more options for REST_OF_THE_SENTENCE? And if yes, how?
Thanks!
3 replies
Polar Cat
Hey @Swanky Seal!
Yes you can, but in that case we'll modify the command a bit to be a bit more efficient, here's how to do it for 2 sentences: