1

It would be nice if someone could help me with scoreboards

Oberdiah 5/14/13 12:47 pm
305
5/14/2013 2:30 pm
OK, I have a problem, Lets just say that I have a scoreboard system and I have 5 points and my friend has 20. I want to make a command block that gives me an iron if I have over 10 points ... so I put give @p[score_points_min=10] iron Into the command block and it works fine for my friend when he's closer, he gets the iron and I don't, but when I'm closer I don't get it but he does! Is there anyway to make it so that no-one gets it if I am closer?

Answers appreciated, Oberdiah

Yes this looks bland ...
Posted by
Oberdiah
Level 52 : Grandmaster Droid
74

  Have something to say?

JoinSign in

7

Profoak0117
05/14/2013 2:30 pm
Level 41 : Master Geek
I tried my best
1
_xeodite_
05/14/2013 2:27 pm
Level 22 : Expert Spelunker
No problem
1
Oberdiah
05/14/2013 2:23 pm
Level 52 : Grandmaster Droid
Thanks!
1
_xeodite_
05/14/2013 2:08 pm
Level 22 : Expert Spelunker
heres a simple command for that

[in a commandblock]

give @p[score_[whateverscoreyou'reusing]=10,score_[whateverscoreyou'reusing]_min=10] 265 1

Hook that up to a clock and you're good to go!

of course this will give you 1 iron ingot each time the clock pulses so you would have to do this hooked up to a comparator that will see if you have 10 levels

scoreboard players set @p[score_(whateverscoreyou'reusing)=10,score_(whateverscoreyou'reusing)_min+10] -10

This should work
here's a layout of how to place the blocks


[C]= redstone clock
--= redstone
{}=commandblock
~=comparator
first command

[C]--{}~{}

second command
1
Profoak0117
05/14/2013 1:46 pm
Level 41 : Master Geek
Well, maybe this will work.
Have a clock running and have it connected to a command block with this command "testfor @p[score_(Whatever you have, in this case "points")_min=0,score_points=10]" and then have a comparator coming out of it connected to a NOT gate which is connected to that other command block that gives out the iron, or to the clock that powers the command block that gives out iron....


Hope this helped
-profoak0117
1
Oberdiah
05/14/2013 1:30 pm
Level 52 : Grandmaster Droid
Well, I have ... and I use them a lot, but I have no Idea why this is happening ... Everyone out there says this should work fine!
1
PengoPenguinRocks
05/14/2013 1:12 pm
Level 24 : Expert Ninja
Maybe check the wiki I'm new to scoreboards as well
1

Welcome