Multiple commands in a given sign doesn't execute correctly...?
Well, as you probably know, ArmorStand's with CustomName's are used to create holograms. I am trying to make a one command sign generator that creates a multiline hologram, multiple ArmorStand's under each other. The generator nearly works, as it returns a result. The command is quite long, so you can go read it on Pastebin by clicking here. The problem is that the ArmorStand's above the lowest one doesn't teleport.
To make it simpler
Let's say I have these commands:
/summon ArmorStand ~ ~ ~ {CustomName:bottom,NoGravity:1,Passengers:[{id:Zombie,Passengers:[{id:"ArmorStand",NoGravity:1,CustomName:top}]}]}
/kill @e[type=Zombie]
/execute @e[name=bottom] ~ ~ ~ /tp @e[name=top] ~ ~-3 ~
And I put it into a sign using this sign generator. The result won't be the same as when I execute the commands each by hand. For an example click here. What is the problem here?
Best Answer
First of all if you execute all of them from one sign in different lines, then you need to do it sign by sign. If you want them to execute from one line (all at once) I suggest you place a redstone block with a setblock that activates a command block chain.
Pictures about "Multiple commands in a given sign doesn't execute correctly...?"



Which symbol is used to execute multiple commands?
Semicolon(;) operator is used to running two or more unrelated commands at a time.How do you run multiple commands with execute?
Try using the conditional execution & or the && between each command either with a copy and paste into the cmd.exe window or in a batch file. Additionally, you can use the double pipe || symbols instead to only run the next command if the previous command failed.How do I run multiple commands in Xargs?
To run multiple commands with xargs , use the -I option. It works by defining a replace-str after the -I option and all occurrences of the replace-str are replaced with the argument passed to xargs.How run multiple commands in Linux?
Using Semicolon (;) Operator to Run Multiple Linux commands. The semicolon (;) operator enables you to run one or more commands in succession, regardless of whether each earlier command succeeds or not. For example, run the following three commands on one line separated by semicolons (;) and hit enter.Linux Command Line Basics - Combining multiple commands
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, William Fortunato, Karolina Grabowska
