#it broadcasts cloned but never creates the new world?

1 messages · Page 1 of 1 (latest)

mighty nova
#

if metadata value "matchable" of player is not true:
                    set metadata value "matchable" of player to true
                    set slot 13 of player's current inventory to lime concrete named "&aMatchmaking..."
                    play sound "entity.villager.yes" at player
                    set {_level} to {level::%player's uuid%}
                    set {_lvlrange} to 1
                    set {_p1} to player
                    
                    while metadata value "matchable" of {_p1} is true:
                        loop all players in world "Spawn":
                            set {_hqrangelvl} to {_level} + {_lvlrange}
                            set {_lqrangelvl} to {_level} - {_lvlrange}
                            
                            if loop-player != {_p1}:
                                if all:
                                    {level::%loop-player's uuid%} <= {_hqrangelvl} 
                                    {level::%loop-player's uuid%} >= {_lqrangelvl}
                                then:
                                    if metadata value "matchable" of loop-player is true:
                                        if metadata value "spectating" of loop-player is not true:
                                            set {_p2} to loop-player
                                            console command "/mvclone arena1 arena::%{_p1}%"
                                            broadcast "cloned"
                                            teleport {_p1} to location(-18, 65, 0, world "arena::%{_p1}%")
                                            teleport {_p2} to location(18, 65, 0, world "arena::%{_p1}%")
                                            preparePlayers({_p1}, {_p2})
                                            startCountdown({_p1}, {_p2})
                                            stop
next bolt
#

Check the command plugin or something

#

make console execute command "/cmdhere"

mighty nova
#

apparently mv doesnt like world names having "::"

next bolt
#

What does :: do again

uncut jetty
#

Might have to be alphanumeric

#

Try - or _

mighty nova
#

i just did a . its not a big deal