$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]

Example

Member02/20/2024
!!exec $onlyIfMessageContains[$username[$authorID];mem;My username doesn't contain `mem`] My username contains `mem`!

Custom Command Bot 02/20/2024
My username contains `mem`