Make the player run a command when something is sent in chat

Started by Ruukasu on

Topic category: Help with modding (Java Edition)

Last seen on 11:53, 31. Oct 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the player run a command when something is sent in chat

I'm wanting the client that my mod is running on to run a command, for example, "/message Joel2 they spoke!" when the message "hey!" can be seen in chat, how could I do this?

Last seen on 15:20, 16. Feb 2024
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use the extra…
Tue, 10/26/2021 - 15:51

you can use the extra trigger with the starting block in procedures and you can set it to do that when the player sends a message in the chat