I have a command that will respond, correctly, if the user uses the correct command in chat. It is using a regex to test for the existence of the command. But since Nightbot checks the first word ONLY, the command may not fire since the second word could be incorrect.
COMMAND : be
– EVAL check for the word “cool” as the second word
IF TRUE, RESPONSE : message
IF FALSE, I want to exit but I get a “Nightbot: undefined” response.
How can I exit out gracefully?