Minecraft wiki entry for Command_blocks_and_functions, associated text: To run multiple commands, summon a command-block minecart riding another command-block minecart riding another, with the commands in reverse order, on an activator rail. There are also commands called one-command tool that use this tactic.