Advertisement
Guest User

Arenas

a guest
Apr 30th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. command /setarena [<text>]:
  2. trigger:
  3. if player has permission "arena.staff":
  4. if arg 1 is "fps":
  5. set {fps.entrada} to player's location
  6. send "&5&l[ARENA] &eArena FPS setada com sucesso!"
  7. stop
  8. if arg 1 is "end":
  9. set {end.entrada} to player's location
  10. send "&5&l[ARENA] &eArena END setada com sucesso!"
  11. stop
  12. if arg 1 is "principal":
  13. set {gelo.entrada} to player's location
  14. send "&5&l[ARENA] &eArena PRINCIPAL setada com sucesso!"
  15. stop
  16. if arg 1 is "deserto":
  17. set {deserto.entrada} to player's location
  18. send "&5&l[ARENA] &eArena DESERTO setada com sucesso!"
  19. stop
  20. else:
  21. send "&cComando errado! Use /arena admin para ver os comandos."
  22. else:
  23. send "&cSem permissão."
  24.  
  25. command /arena [<text>]:
  26. trigger:
  27. if arg 1 is set:
  28. if arg 1 is "fps":
  29. teleport player to {fps.entrada}
  30. broadcast "&5&l[ARENA] &e%player% está na arena FPS! &c/Arena fps"
  31. stop
  32. if arg 1 is "end":
  33. teleport player to {end.entrada}
  34. broadcast "&5&l[ARENA] &e%player% está na arena END! &4/Arena end"
  35. stop
  36. if arg 1 is "principal":
  37. teleport player to {gelo.entrada}
  38. broadcast "&5&l[ARENA] &e%player% está na arena PRINCIPAL! &4/Arena principal"
  39. stop
  40. if arg 1 is "deserto":
  41. teleport player to {deserto.entrada}
  42. broadcast "&5&l[ARENA] &e%player% está na arena DESERTO! &4/Arena deserto"
  43. stop
  44. if arg 1 is "admin":
  45. send "&c/Setarena [FPS|END|PRINCIPAL|DESERTO]"
  46. stop
  47. if arg 1 is "ajuda":
  48. send "&c/Arena [FPS|END|PRINCIPAL|DESERTO]"
  49. stop
  50. else:
  51. send "&fComando errado! Use /arena [FPS|END|PRINCIPAL|DESERTO]"
  52. else:
  53. send "&fComando errado! Use /arena [FPS|END|PRINCIPAL|DESERTO]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement