NightDev Community Forums

Command formatting

I wanted to make a command that makes Nightbot respond with No u whenever someone uses the word “beautiful” in a sentence so it doesn’t have to be at the start and I figured it would be something simple like you do with a search in Win Explorer where you just put beautiful and it would look for everything that includes the word beautiful with unknown variables before and after

The issue is that, by design, commands only trigger if called by a timer or if the command name is the first word in a user’s message, so what you’re asking for, making a command that triggers if a certain word is in a user’s message with any number of words surrounding that word, is impossible.

Alright, at least this confirms I’m not a complete bot lol. Thanks anyways