$onlyIfMessageContains

Continues the execution only if 'text' contains all provided words, returns the error message parameter if it does not.

Usage

$onlyIfMessageContains[text;word1;word2;...;error message]
1

Example

Member01/27/2023
!!exec $onlyIfMessageContains[$username[$authorID];mem;My username doesn't contain `mem`] My username contains `mem`!

Custom Command Bot 01/27/2023
My username contains `mem`