I'm creating a shop. I need to test for a minimum amount of an item (with a command block).
For example, I'll need test whether or not a player has at least 5 diamonds (to be able to purchase an item).
I know how to test if they have diamonds in the first place, but I can't figure out how to do a minimum amount!
By the way, I'm using Pocket Edition, Beta v1.2.0.18, so the "/timestamp" command does not function yet.
I am new to commands, and only the basics, because they only just released a couple months ago on pocket edition. Please help! If the "/testfor" command cannot function like that, then I would appreciate it if you could help create my shop via a different method. Thank you.
I'm creating a shop. I need to test for a minimum amount of an item (with a command block).
For example, I'll need test whether or not a player has at least 5 diamonds (to be able to purchase an item).
I know how to test if they have diamonds in the first place, but I can't figure out how to do a minimum amount!
By the way, I'm using Pocket Edition, Beta v1.2.0.18, so the "/timestamp" command does not function yet.
I am new to commands, and only the basics, because they only just released a couple months ago on pocket edition. Please help! If the "/testfor" command cannot function like that, then I would appreciate it if you could help create my shop via a different method. Thank you.
Here is a list of commands on the MCPE wiki: http://minecraftpocketedition.wikia.com/wiki/Commands/List_of_Commands
Sorry if I posted in the wrong category!