How to execute multiple commands within one command in Minecraft?

Is there any way to wear particular armor within one command to be used in the chat (i.e. without command block)?

The several commands look like below -

replaceitem entity @s slot.armor.head 0 iron_helmet
replaceitem entity @s slot.armor.chest 0 iron_chestplate
replaceitem entity @s slot.armor.legs 0 iron_leggings

I am reading the Wiki about /execute and run commands - https://minecraft.gamepedia.com/Commands/execute. It sounds like it is possible. But I don't understand how to apply it. And I am not sure if run will work with Bedrock Edition.


Solution 1:

/execute is not what you are looking for. Even in Java Edition, you can only run one command with it.

You can consider creating a command chain. Please consider visiting this post for info on how you can create a command chain. With a command chain, all the commands that are part of it will execute at the same time, but in order. I hope that this will suffice for running multiple commands at once.

If a command chain is not satisfactory, there's not much else you can do.