1

Using /setblock to make another commandblock

SlaimCraft 10/16/13 12:21 pm
374
10/16/2013 1:03 pm
Hey, I wanna use /setblock to create another commandblock but I'm not sure how to do it.

/setblock ~0 ~5 ~0 minecraft:command_block 0 replace ???

is as far as I got. How do I write the command that goes inside the spawned command block?

Starting simple, say I want the spawned commandblock to contain /tp @p[team=red] 0 64 0
how would I write that inside the first commandblock?
Posted by
SlaimCraft
Level 49 : Master Architect
78

  Have something to say?

JoinSign in

3

treyishuman
10/16/2013 1:03 pm
Level 22 : Expert Button Pusher
That was quick, glad he could help.
1
SlaimCraft
10/16/2013 12:35 pm
Level 49 : Master Architect
Gosh, thank you, {Command:/tp @p[team=red] 0 64 0} was the part I was after.

I had been trying for a long time but it seems I used too many parenthesis where none was needed. Thanks.
1
anonpmc476721
10/16/2013 12:31 pm
Level 10 : Journeyman Miner
[deleted]
1

Welcome