• 0

    posted a message on Is it possible to use scoreboard info as arguments in commands?

    Hi there!

    Thank you very much for your answer, I'll try that tomorrow (it's quite late, right now ^^).

    Much appreciated :D

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Is it possible to use scoreboard info as arguments in commands?

    Hi there everybody!

    Here's the thing, I would like to be able to teleport some players and then teleport them back.
    I need them to be teleported back at the exact same coordinates.

    I found this command to store coordinates in the scoreboard:
    /execute as <name> store result score @s <position> run data get entity @s Pos[0] (or [1] or [2])

    Is there a way for me to use these info in a command?
    Like: /tp Psychosfun Psychosfun[positionX] Psychosfun[positionY] Psychosfun[positionZ]

    If not, is there another way to proceed?

    Thank you very in advance!

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Control the redstone power signal?

    Sorry for the late answer.

    That's a really interesting system, I'll definitely try that, even just for the experience.
    Thank you very much! :D

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Control the redstone power signal?

    Ok, so I found the problem, for people who would be interested in that.

    1) I had to put a comparator at the command block's output... I know, I know... x)

    2) the "=" sign in the "score" command is only used to compare the score of an other player, not a numeral value. For that, you have to use "matches", so like that:
    /execute if score <player's name> <name of your points> matches <value>
    In my case: /execute if score Psychosfun points matches 1..10

    3) With the "matches" comparison, you can use a simple value, let's say 10 (so it will return true only if the score you're comparing to is equal to 10), but you can also use x..x, like in my example 1..10 (with two dots). Which means that it will return true if your score is between 1 and 10 (including 1 and 10).

    The only confusing thing with that system is the fact that it stays on. So if I activate the redstone signal that goes through my command block, it will turn the redstone light on, but if I stop the redstone signal, the redstone light will stay on. I have to change the value of the score and send the redstone signal again to turn if off (and force to return a false from the command block).

    I hope it helped! :D

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Control the redstone power signal?

    Ok, I've been trying to do something with the scoreboard and a command block.
    I came up with this, But I'm not really sure where the problem is.

    So basically, I created an objective named "points", gave myself 7 points and tried this:
    "/execute if score Psychosfun points = 120" - That should not work, seeing that I only have 7 points, as you can see on the image.
    But for an unkown (for me) reason, that works.
    Do you know what the problem is?

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Control the redstone power signal?

    No problem, thank you for trying :D
    And 10 will be enough, anyway. Thank you :D

    Posted in: Redstone Discussion and Mechanisms
  • 0

    posted a message on Control the redstone power signal?

    Hi there everybody!

    I just discovered this forum and after looking, it feels like my problem is not here.
    (Sorry if it is already, I checked but did not find it)

    Here's the thing:
    I would like to be able to control the intensity of a redstone signal and to have the possibility to increase it or decrease it thanks to buttons.
    Imagine a series of redstone lamp in a row and, just by pressing a "more" button, I'd be able to turn on the first one, than the second one, than the third one.
    And by pressing a "less" button, I'd be able to turn off the third one, than the second one, than the first one.

    Is there a way to do this? With commandblock, maybe? I'm not really a pro with those, just for you to know x)

    Thank you very much in advance and have a good day :D

    Posted in: Redstone Discussion and Mechanisms
  • To post a comment, please .