Advertisement
HallowedS

Untitled

Dec 18th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. if arg 1 is "mapa":
  2. send ""
  3. set {_mapX} to 11
  4. set {_mapY} to 6
  5. set {_m} to ""
  6. loop 13 times:
  7. loop 23 times:
  8. set {_x} to {_mapX} * 16
  9. set {_y} to {_mapY} * 16
  10. set {_chunk} to chunk at block {_y} blocks north {_x} blocks west of player
  11. set {_Claim} to value "Terras.%{_chunk}%" get of "plugins/Factions/claimdata.yml"
  12. if {_Claim} isn't set:
  13. set {_result} to ""
  14. else:
  15. set {_result} to {_Claim}
  16. if {_chunk} is chunk at player:
  17. set {_m} to "%{_m}%&e█"
  18. else if {_result} is {_FactionTag}:
  19. set {_m} to "%{_m}%&8█"
  20. else if {_result} is "":
  21. set {_m} to "%{_m}%&7█"
  22. else if {_result} is "warzone":
  23. set {_m} to "%{_m}%&4█"
  24. else if {_result} is "safezone":
  25. set {_m} to "%{_m}%&6█"
  26. else:
  27. set {_m} to "%{_m}%&f█"
  28. add -1 to {_mapX}
  29. send "&l%{_m}%" to player
  30. set {_m} to ""
  31. add -1 to {_mapY}
  32. set {_mapX} to 11
  33. send ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement