Guest User

Untitled

a guest
Mar 7th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. # ────────────────────────────────────────────────── #
  2. # ● zGStaff ● #
  3. # - Skript de Staff por lista # #
  4. # Versão: #! 1.0 !# #
  5. # By » zGhol #
  6. # #
  7. # ────────────────────────────────────────────────── #
  8.  
  9. # #! --------------------------------------------------------------------------------------------------------------------- !# #
  10. # Não meche favor deixar os creditos #
  11.  
  12. on script load:
  13. message "=-=-=-=-=-=-=-=-=-=-=" to console
  14. message " Iniciando zGStaff " to console
  15. message " Versao: 1.0 " to console
  16. message " Criador: zGhol " to console
  17. message "=-=-=-=-=-=-=-=-=-=-=" to console
  18.  
  19. on script unload:
  20. message "=-=-=-=-=-=-=-=-=-=-=" to console
  21. message " Finalizando zGStaff " to console
  22. message " Versao: 1.0 " to console
  23. message " Criador: zGhol " to console
  24. message "=-=-=-=-=-=-=-=-=-=-=" to console
  25.  
  26. # #! --------------------------------------------------------------------------------------------------------------------- !# #
  27. # CONFIGURAÇÃO #
  28. # #! --------------------------------------------------------------------------------------------------------------------- !# #
  29.  
  30. options:
  31.  
  32. # Coloque o nome dos grupos de staff #
  33. Grupo1: DONOS
  34. Grupo2: ADMINISTRADORES
  35. Grupo3: MODERADORES
  36. Grupo4: AJUDANTES
  37. Grupo5: BUILDERS
  38.  
  39. # Cor dos Grupos #
  40. Dono: &4&lDono:
  41. Adm: &c&lAdministrador:
  42. Mod: &3&lModerador:
  43. Ajd: &3&lAjudante:
  44. Builder: &d&lBuilder:
  45.  
  46. # #! --------------------------------------------------------------------------------------------------------------------- !# #
  47. # Script Favor não alterar #
  48. # #! --------------------------------------------------------------------------------------------------------------------- !# #
  49.  
  50. command /staff [<offlineplayer>] [<text>]:
  51. trigger:
  52. if player has permission "staff.admin":
  53. if arg 1 is set:
  54. if arg 2 is "{@Grupo1}":
  55. set {Staff::%arg 1%} to arg 1
  56. set {Staffer.%arg 2%::%{Staff::%arg 2%}%} to arg 2
  57. send "&cStaff adicionado na lista !"
  58. stop
  59. if arg 2 is "{@Grupo2}":
  60. set {Staff::%arg 1%} to arg 1
  61. set {Staffer.%arg 2%::%{Staff::%arg 2%}%} to arg 2
  62. send "&cStaff adicionado na lista !"
  63. stop
  64. if arg 2 is "{@Grupo3}":
  65. set {Staff::%arg 1%} to arg 1
  66. set {Staffer.%arg 2%::%{Staff::%arg 2%}%} to arg 2
  67. send "&cStaff adicionado na lista !"
  68. stop
  69. if arg 2 is "{@Grupo4}":
  70. set {Staff::%arg 1%} to arg 1
  71. set {Staffer.%arg 2%::%{Staff::%arg 2%}%} to arg 2
  72. send "&cStaff adicionado na lista !"
  73. stop
  74. if arg 2 is "{@Grupo5}":
  75. set {Staff::%arg 1%} to arg 1
  76. set {Staffer.%arg 2%::%{Staff::%arg 2%}%} to arg 2
  77. send "&cStaff adicionado na lista !"
  78. stop
  79. if arg 1 is not set:
  80. send "&cUse /staff (NICK) (GRUPO[{@Grupo1},{@Grupo2},{@Grupo3},{@Grupo4},{@Grupo5}.)"
  81. stop
  82. else:
  83. send "send "&cUse /staff (NICK) (GRUPO[{@Grupo1},{@Grupo2},{@Grupo3},{@Grupo4},{@Grupo5}.)""
  84. stop
  85.  
  86. command /staffs:
  87. trigger:
  88. loop {Staffer.{@Grupo3}::*}:
  89. send "&e&l-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
  90. send "{@Dono} %loop-value%"
  91. loop {Staffer.{@Grupo2}::*}:
  92. send "{@Adm} %loop-value%"
  93. loop {Staffer.{@Grupo3}::*}:
  94. send "{@Mod} %loop-value%"
  95. loop {Staffer.{@Grupo4}::*}:
  96. send "{@Ajd} %loop-value%"
  97. loop {Staffer.{@Grupo5}::*}:
  98. send "{@Builder} %loop-value%"
  99. stop
Advertisement
Add Comment
Please, Sign In to add comment