docsFunctionsPermissionsZonlyIfMessageContains

ZonlyIfMessageContains

Halts execution with an error message unless the provided message text contains all of the specified words.

Syntax

ZonlyIfMessageContains{message;word;...;errorMessage}

Arguments

NameTypeRequiredDefault
messagestringYes-
wordstringYes-
errorMessagestringYes-

Example

ZonlyIfMessageContains{Hello world;hello;world;Required words not found.}