How do I create a text generator to replace text?

Fo
19

So z. B. I have a program where I hold the command / give {rep1} {rep2}

Have In the program I can then insert Steve into text field 1 for my own sake and minecraft: carrot in text field 2 and the program spits me:

/ give Steve minecraft: carrot

out. How does it work? Ps: Can only do a few HTML basics, but a template would be good.

gl

What do you need that for?

Fo

For data packs

Em

You only have to chain 3 strings

Ch

So with HTML alone you will most likely not be able to do it yourself, for this you would need e.g. Javascript.

gl

Mcstacker.net is a very good command generator

Fo

It's already clear, I just wanted to hint that Html etc. For me it's not just kawawelsch

Ch

Jo, all well.

Fo

Minecraft was just an example

Fo

There are also various websites online to replace text, but there's only one thing at a time

gl

Then you use the example Minecraft mcstacker.net xD

Fo

Sometimes there's e.g. With mods, there are also long configs that I want to configure quickly

gl

What do you mean by "one thing at a time"?

gl

However, you can't configure configs with datapacks.

Fo

That was just an example of another application

Sl

Sed?!

gl

Oh so… Ok now I'm stiffening

Then I can't help you

Fo

What?

Sl

Sed! The stream editor.

Fo

Ah, a little bit complicated