Guest User

zGAtendimento » Skript De Atendimento Ao Player

a guest
Dec 18th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. # ─────────────────────────────────── #
  2. # ● zGAtendimento ● #
  3. # - Skript De Atendimento Ao Player #
  4. # By » zGнσl™ #
  5. # #
  6. # ─────────────────────────────────── #
  7.  
  8. command /atendimento:
  9. trigger:
  10. set {Atendimento.%player%} to true
  11. send "&9&lA&f&ltendimento &9&l➜ &fO Seu Pedido de Atendimento Foi Enviado Aguarde um Staff Te Atender!"
  12. loop all players:
  13. if loop-player has permission "atendente.admin":
  14. send " " to loop-player
  15. send "&9&lA&f&ltendimento &9&l➜ &fO Player %player% Precisa De Atendimento!" to loop-player
  16. send "&9&lA&f&ltendimento &9&l➜ &fDe /atender %player%" to loop-player
  17. send " " to loop-player
  18. stop
  19.  
  20. command /atender [<player>]:
  21. trigger:
  22. if {Atendimento.%arg 1%} is true:
  23. if arg 1 is set:
  24. if player has the permission "atendente.admin":
  25. send " " to arg 1
  26. send "&9&lA&f&ltendimento &9&l➜ &fBoa Tarde, meu nome é %player%¨e irei te atender" to arg 1
  27. send "&9&lA&f&ltendimento &9&l➜ &fDe /responder %player% SUA DÚVIDA" to arg 1
  28. send " " to to arg 1
  29. stop
  30. else:
  31. send "&9&lA&f&ltendimento &9&l➜ &fSem permissão!"
  32. else:
  33. send "&9&lA&f&ltendimento &9&l➜ &fUse /atender NICK"
  34. else:
  35. send "&9&lA&f&ltendimento &9&l➜ &fEsse player não está pedindo um atendimento!"
  36. stop
  37.  
  38. command /responder [<player>] [<text>]:
  39. trigger:
  40. if {Atendimento.%player%} is true:
  41. if arg 1 is set:
  42. if arg 1 is set:
  43. send " " to arg 1
  44. send "&9&lA&f&ltendimento &8&l%player% &9&l➜ &f%arg 1%" to arg 1
  45. send " " to to arg 1
  46. stop
  47. else:
  48. send "&9&lA&f&ltendimento &9&l➜ &fUse /responder STAFF DÚVIDA"
  49. else:
  50. send "&9&lA&f&ltendimento &9&l➜ &fUse /responder STAFF DÚVIDA"
  51. else:
  52. send "&9&lA&f&ltendimento &9&l➜ &fVocê não está sendo atendido!"
  53. stop
  54.  
  55. command /att [<player>]:
  56. trigger:
  57. if {Atendimento.%arg 1%} is true:
  58. if arg 1 is set:
  59. open chest with 3 row named "&9&lA&f&ltendimento" to player
  60. format slot 11 of player with a Green Stained Clay named "&a&lResolvido" with lore "&aMarcar Pedido Como Resolvido" to run [make player execute command "/attr"]
  61. format slot 15 of player with a Red Stained Clay named "&c&lNão Resolvido" with lore "&cMarcar Pedido Como Não Resolvido" to run [make player execute command "/attn"]
  62. stop
  63. else:
  64. send "&9&lA&f&ltendimento &9&l➜ &fUse /att NICK"
  65. else:
  66. send "&9&lA&f&ltendimento &9&l➜ &fEsse player não está pedindo um atendimento!"
  67. stop
  68.  
  69. command /attr [<player>]:
  70. trigger:
  71. if {Atendimento.%arg 1%} is true:
  72. if arg 1 is set:
  73. send " " to player
  74. send "&9&lA&f&ltendimento &9&l➜ &fVocê marcou o pedido de atendimento de %arg 1% como &a&lResolvido" to player
  75. send " " to player
  76. send " " to arg 1
  77. send "&9&lA&f&ltendimento &9&l➜ &fSeu pedido de atendimento foi marcado como &a&lResolvido" to arg 1
  78. send " " to arg 1
  79. set {Atendimento.%arg 1%} to false
  80. else:
  81. send "&9&lA&f&ltendimento &9&l➜ &fUse /attr NICK"
  82. else:
  83. send "Esse player não está pedindo um atendimento!"
  84.  
  85. command /attn [<player>]:
  86. trigger:
  87. if {Atendimento.%arg 1%} is true:
  88. if arg 1 is set:
  89. send " " to player
  90. send "&9&lA&f&ltendimento &9&l➜ &fVocê marcou o pedido de atendimento de %arg 1% como &c&lNão Resolvido" to player
  91. send " " to player
  92. send " " to arg 1
  93. send "&9&lA&f&ltendimento &9&l➜ &fSeu pedido de atendimento foi marcado como &c&lNão Resolvido" to arg 1
  94. send " " to arg 1
  95. set {Atendimento.%arg 1%} to false
  96. else:
  97. send "&9&lA&f&ltendimento &9&l➜ &fUse /attn NICK"
  98. else:
  99. send "Esse player não está pedindo um atendimento!"
Add Comment
Please, Sign In to add comment