$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

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

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