Testing if someone wrote something specific in Minecraft Chat?

sk
6

I'm currently building a small map and want to test if someone has written the codeword in the chat.

I play in the 1.14.2 of the Java Edition

Sw

That is impossible without mods to very expensive

sk

Well in minecraft 1.12.2 was that yes

Sw

How did that work?

Da

With command blocks that would theoretically be quite sure I'm not google but then whether that is possible with command blocks

an

Is not it

an

That will not do.