Make sure that the second happens after the first - place it farther away from the source than the first.
You should not use /execute in that manner. The player selectors in /give and /scoreboard are there to be used; all that's happening by using /execute like that is extra processing from the server. Remove /execute and use the player selector in the desired commands:
/give @p[score_Bones1_min=1] minecraft:bone
/scoreboard players set @p[score_Bones1_min=1] Bones1 0
You should not use /execute in that manner. The player selectors in /give and /scoreboard are there to be used; all that's happening by using /execute like that is extra processing from the server. Remove /execute and use the player selector in the desired commands:
/give @p[score_Bones1_min=1] minecraft:bone
/scoreboard players set @p[score_Bones1_min=1] Bones1 0
Ah yes, sorry. That's true, I forgot.
Rollback Post to RevisionRollBack
"Are you falling asleep in the middle of my fascinating explanation?" - Qibli
"I can't even dignify that with a snort." - Winter
Im trying to get rid of all my comparators in this redstone creation im making, the only way to do that is execute commands
Here is my command, im trying to make it do 2 things, but i dont think that is possible, how do I fix this
/execute @p[score_Bones1_min=1] ~ ~ ~ /give @p minecraft:bone /scoreboard players set @p Bones1 0
Trying to get rid of this... http://puu.sh/hqu0t/9e722f764f.jpg
so you want to excute two commands with one cammond block? completely impossible, you have to use several command blocks
Just do two command blocks:
/execute @p[score_Bones1_min=1] ~ ~ ~ give @p minecraft:bone
/execute @p[score_Bones1_min=1] ~ ~ ~ scoreboard players set @p Bones1 0
Make sure that the second happens after the first - place it farther away from the source than the first.
"Are you falling asleep in the middle of my fascinating explanation?" - Qibli
"I can't even dignify that with a snort." - Winter
"This is important and fascinating!" - Starflight
"You're nonagashabibble." - Squid
im planning on using CrushedPixel's "into one command" filter so i dont think that is possible...
You should not use /execute in that manner. The player selectors in /give and /scoreboard are there to be used; all that's happening by using /execute like that is extra processing from the server. Remove /execute and use the player selector in the desired commands:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Can I combine thes 2 commands into one command so I dont have to use comparators?
/execute @a ~ ~ ~ /testforblock ~ ~-1 ~ dropper 1 {CustomName:"Crafter",Items:[0:{Slot:4b,id:"minecraft:wool",Count:1b,Damage:0s,},],id:"Dropper",Lock:"",}
/execute @a ~ ~ ~ /blockdata ~ ~-1 ~ {CustomName:"Crafter",Items:[0:{Slot:4b,id:"minecraft:string",Count:4b,Damage:0s,},],id:"Dropper",Lock:"",}
Ah yes, sorry. That's true, I forgot.
"Are you falling asleep in the middle of my fascinating explanation?" - Qibli
"I can't even dignify that with a snort." - Winter
"This is important and fascinating!" - Starflight
"You're nonagashabibble." - Squid