Jump to content

Wild


Nd_

Recommended Posts

Code:

command /wild:
      aliases: /rtp, /forest
      trigger:
            set {wild.1} to "4760, 255, 825"
            set {wild.2} to "760, 0, 825"
            loop blocks between {wild.1} and {wild.2}:
                  if loop-block is air:
                        set {_wild} to loop-block's location
                        if block below loop-block isn't air, lava, or water:## this line doesn't work, is there any way to do this 
                               add {_wild} to {_wild::*}
            teleport the player to a random element of {_wild::*}

This doesn't work. I tried removing if block below loop-block isn't air, lava, or water:, but it still doesn't work. Can someone help me? Thanks

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...