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

Started by LukeCosmo12 on

Topic category: Help with MCreator software

Active 1 year ago
Joined Jan 2024
Points:
134

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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?

Active 15 seconds ago
Joined Nov 2019
Points:
883

User statistics:

  • Modifications: 0
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 339
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)].