Question about "Does text:X contains text: Y.

Started by LukeCosmo12 on

Topic category: Help with MCreator software

Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question about "Does text:X contains text: Y.

In this procedure block, can i define "X" as any text possible, even texts i can't predict?

If yes, so How?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you are getting text from…
Thu, 01/25/2024 - 14:56

if you are getting text from chat there is provided dependencies, one is called "text", you can use that to get each line of text in chat and use that as the [Does text:"text" contains:Y], but if you do so from a gui, then you can use the [get text inside textfield (textfieldname)].