Skript: dev37c
Minecraft: 1.12
Bonjour,
j'aurais voulus savoir si ce morceau de code fonctionne et si il fonctionne pas, serait-il possible de savoir pourquoi ? merci ^^
set {_mapX} to 11
set {_mapY} to 6
set {_m} to ""
loop 13 times:
loop 23 times:
set {_x} to {_mapX} * 16
set {_y} to {_mapY} * 16
set {_chunk} to chunk at block of {_y} blocks north {_x} blocks west of player
if {f.chunk::%{_chunk}%} isn't set:
set {_result} to ""
else:
set {_result} to {f.chunk::%{_chunk}%}
if {_chunk} is chunk at player:
set {_m} to "%{_m}%&2█"
else if {_result} is {f.fac.name.%player%}:
set {_m} to "%{_m}%&a█"
else if {_result} is "SAFE":
set {_m} to "%{_m}%&b█"
else if {_result} is "WARZONE":
set {_m} to "%{_m}%&e█"
else if {_result} is "":
set {_m} to "%{_m}%&7█"
else:
set {_m} to "%{_m}%&c█"
add -1 to {_mapX}
message "%{_m}%" to player
set {_m} to ""
add -1 to {_mapY}
set {_mapX} to 11