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

Started by NikG on Thu, 10/15/2020 - 22:12

Topic category: User side tutorials

Last seen on 06:35, 25. Nov 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to check messages from "Player sent chat" trigger for specific text?
Thu, 10/15/2020 - 22:12

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

Last seen on 18:09, 25. Nov 2020
Joined Mar 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 18:43, 25. Nov 2020
Joined Dec 2019
User points:

User statistics:

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

where is the provided text contain text

Last seen on 18:43, 25. Nov 2020
Joined Dec 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?