How to check messages from "Player sent chat" trigger for specific text?

Started by NikG on

Topic category: User side tutorials

Last seen on 18:35, 22. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check messages from "Player sent chat" trigger for specific text?

I need to check "Player sent chat" for specific text. How should I do this?

Last seen on 01:09, 29. Aug 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure with the…
Thu, 10/29/2020 - 13:19

Create a procedure with the global trigger event of "Player sent chat", place an "If" Block and then connect the "Does provived text contain text". Insert your text into the block and you should be good to go. This may not be accurate because I do not have access to Mcreator currently.

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where is the provided text…
Wed, 11/11/2020 - 14:30

where is the provided text contain text

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
this would be a very fun…
Wed, 11/11/2020 - 14:33

this would be a very fun thing for my mod because I wouldn't need to have the mobs get hit in order to attack someone, you could put it in the chat

 

when someone answers is there a way to change the AI with a chat command?