The Meaning of Life, the Universe, and Everything.
Join Date:
4/20/2013
Posts:
276
Location:
memetopia
Minecraft:
WobbegongWachong
Member Details
I have a "queued" tag which uses the new 1.9 feature to tag a player as part of a list. I want to have a command line that only runs if no more players in the world have the "queued" tag.
Something like a command block with
/testfor @a[tag=queued]
inside and a redstone torch attached to the side would work, but it's not practical in this case because of the redstone delay--I need some sort of command that can do this logic instantly.
The issue is that this command block will output true if any player isn't in the queue. I need a command block which outputs true only if ALL players aren't in the queue
I have a "queued" tag which uses the new 1.9 feature to tag a player as part of a list. I want to have a command line that only runs if no more players in the world have the "queued" tag.
Something like a command block with
inside and a redstone torch attached to the side would work, but it's not practical in this case because of the redstone delay--I need some sort of command that can do this logic instantly.
www.youtube.com/user/dinodude162
try testfor @a[tag=!queued]
The issue is that this command block will output true if any player isn't in the queue. I need a command block which outputs true only if ALL players aren't in the queue
www.youtube.com/user/dinodude162
First do this in the a area that is always loaded (on top of command blocs):
/summon ArmorStand ~ ~ ~ {Invisible:1b,NoGravity:1b,CustomName:"GameCore"}
Then run this on a clock in this order:
1:/scoreboard players tag @e[type=ArmorStand,name=GameCore,tag=!NoQueued] add NoQueued
2:/execute @a[c=1,tag=queued] ~ ~ ~ /scoreboard players tag @e[type=ArmorStand,name=GameCore] remove NoQueued
My recent creation
- Apocalyptic Disasters - Command block mod
My best Minigame
- Hangman
My best one command creation
- 1.9 Jetpack in minecraft
I just told him how to do it, it is completely possible with commands.
My recent creation
- Apocalyptic Disasters - Command block mod
My best Minigame
- Hangman
My best one command creation
- 1.9 Jetpack in minecraft