Making a phrase a command for nightbot

So ive been tryna learn how to make commands for phrases so nightbot can respond but ive been havin no luck. I looked it up and saw this command: $(eval a=decodeURIComponent("$(querystring)").toLowerCase();a.includes(“i play”)||a.includes(“i join”)?" but it doesnt work. Instead, itll just put the command message as text in chat when its used. Can someone teach me please?

Hey @keylobrim!

See if that helps: Nighbot responding to a sentence / command name with space - #4 by Emily

I can’t make it easier, give it a try, if you still can’t figure it out, I’ll fill it up for you, but you’ll have to give me the sentence you want Nightbot to react to, and what its response should be.

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