WhatsApp Message as a Trigger - Exclude several Words if they match exactly?

Status
Not open for further replies.

MrGalaxy

New member
Hello, I need your help ✌️

I use WhatsApp as a trigger. A macro is already finished and runs as it should.
It responds to exact terms in the message. Here as an example “red”. It does NOT respond to messages similar to "reds".
In addition, telephone numbers are entered in variables. The trigger then has the condition when the message comes from the sender (variable 1).

Everything is going as it should. Now another macro should be added. The trigger should also react to WhatsApp messages again.
Again, only if they come from the sender (variable 1). This time, however, every content should be responded to, but...

EXCEPT for the words already defined. If the word "red" comes don't; comes the word "blue" don't; comes the Word "yellow" don't. But then “red blue” comes = ok.
These words are also stored in individual variables. If I exclude these words in the trigger itself, then it probably won't work as a list, but only as "a term".
In this case only "red blue yellow" would be excluded. But not just “red”. Can I somehow add the contents of a variable ("red") as an exclusive condition?

I can ensure in the macro itself that if the message content corresponds to one of the words, the current macro is ended.
But I would prefer not to have this macro triggered in the first place. Otherwise 2 macros would be started.
And I still haven't figured out how to determine which macro starts first.
 
Status
Not open for further replies.
Top