Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. command /ss [<offline player>]:
  2. trigger:
  3. if player has permission "staff.use":
  4. if arg 1 is set:
  5. wait 5 tick
  6. open chest with 1 row named "{@name}" to player
  7. wait 2 tick
  8. format slot 3 of player with green wool named "&4Cheat" to close then run [make player execute command "/ss2 %arg 1%"]
  9. format slot 5 of player with red wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
  10. else:
  11. send "&c[Admin] Tu n'as pas set le pseudo du joueur, tu ouvres un menu sur ton pseudo"
  12. if arg 1 is not set:
  13. wait 5 tick
  14. open chest with 1 row named "{@namenoset}" to player
  15. wait 2 tick
  16. format slot 3 of player with green wool named "&4BOUTONAME" to close then run [make player execute command "/ss2"]
  17. format slot 5 of player with red wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
  18. else:
  19. send "&4[Erreur] Tu n'as pas la permission d'utiliser cette commande !" to player
  20. command /ss2 [<offline player>]:
  21. trigger:
  22. if player has permission "staff.use":
  23. if arg 1 is set:
  24. wait 5 tick
  25. open chest with 1 row named "{@name}" to player
  26. wait 2 tick
  27. format slot 3 of player with blue wool named "&4BOUTONAME" to close then run [make player execute command "/pm %arg 1% Test"]
  28. format slot 5 of player with black wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
  29. if arg 1 is not set:
  30. wait 5 tick
  31. open chest with 1 row named "{@namenoset}" to player
  32. wait 2 tick
  33. format slot 3 of player with blue wool named "&4BOUTONAME" to close then run [make player execute command "/ss1"]
  34. format slot 5 of player with black wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
  35. else:
  36. send "&4[Erreur] Tu n'as pas la permission d'utiliser cette commande !" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement