join all cmdparams into one string for a command

Started by eggnirmoll on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Sep 2018
Points:
723

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 22
join all cmdparams into one string for a command

so i wanted to make a command similar to /say but i don't know how to join the arguments into a single string

my command is supposed to be for example if you do /announce i like grapes, in the chat it does "[-] i like grapes", any help?

Active 1 year ago
Joined Sep 2018
Points:
723

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 22
what am i supposed to do…
Sat, 06/05/2021 - 11:33

what am i supposed to do with this

Active 9 months ago
Joined Aug 2024
Points:
58

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
You could use the 'create…
Thu, 10/17/2024 - 12:49

You could use the 'create text with' to join stuff together