Jump to content

I need some help looping and adding a block's location to a loop.


Recommended Posts

So I have been trying to add a block's location to a loop, but for some reason it doesn't work, does anyone have any idea to fix this or have any suggestions on how to fix this?


on place:
  add %event-block's block location% to {testing::*}

command /blocks:
    loop {testing::*}:
      send "%loop-block's block location%" to player

Error: "%event-block's block location%" can't be added to {testing::*} because the former is not an object.

Link to comment
Share on other sites

%event-blocks block location% isn't the proper syntax here's the propped one event-block's location you don't need the % sign either.

Also the d "%loop-block's block location%" is not valid, you should make it "%loop-value%".

Hope this helps :).



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...