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

Started by NikG on

Topic category: User side tutorials

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?

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.

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

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?