Advertisement
thelikepvp

Untitled

Jul 31st, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. #--------------------------#
  2. #Criador : Frogguer
  3. #Nao remova os Creditos
  4. #--------------------------#
  5.  
  6. command /set [<text>]:
  7. permission: set.setar
  8. permission message: &c[✖] Sem permissao Para Setar Locais
  9. trigger:
  10. if arg 1 is set:
  11. set {CL.%arg 1%} to location of player
  12. send "&a%arg 1% Setado Com Sucesso"
  13. if arg 1 is not set:
  14. send ""
  15. send "&c[✖] Você precisa colocar o nome deste Local"
  16. send ""
  17.  
  18. on command:
  19. if {CL.%command%} is set:
  20. if player has permission "CL.%command%":
  21. cancel event
  22. teleport player to {CL.%command%}
  23. send " &aVocê foi teleportado para &f%command%"
  24. play raw sound "note.pling" at player with pitch 1 volume 10
  25. stop
  26. else:
  27. cancel event
  28. send "&cVocê não tem permissão para utilizar esse comando."
  29. stop
  30.  
  31. command /removerset [<text>]:
  32. permission: set.remover
  33. permission message: &cSem Permissao para Deletar Locais
  34. trigger:
  35. if arg 1 is set:
  36. if {CL.%arg 1%} is set:
  37. clear {CL.%arg 1%}
  38. send "%arg 1% Apagado Com Sucesso"
  39. if arg 1 is not set:
  40. send ""
  41. send "&c[✖] Vc Precisa Colocar o Nome Da Set"
  42. send ""
  43. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement