Send a response to a common phrase

I mod for a rocket league streamer and people ask things like “how do i 1v1 him” a lot. Is there a way for nightbot to respond to a specific, multiple word phrase without any exclamation points?

Yes it is possible. I would suggest this:

!addcom how $(eval a="$(query)".toLowerCase();if(a!="do i 1v1 him"&&a!="do i 1v1 him?"){b=" "}else{b="RESPONSE"};b)

RESPONSE is what you want it to say, feel free to ask any questions.

awesome, thanks. where in that would I put $(touser) if needed?

You would just put it on the response part that’s the only thing you should change.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.