Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ss [<offline player>]:
- trigger:
- if player has permission "staff.use":
- if arg 1 is set:
- wait 5 tick
- open chest with 1 row named "{@name}" to player
- wait 2 tick
- format slot 3 of player with green wool named "&4Cheat" to close then run [make player execute command "/ss2 %arg 1%"]
- format slot 5 of player with red wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
- else:
- send "&c[Admin] Tu n'as pas set le pseudo du joueur, tu ouvres un menu sur ton pseudo"
- if arg 1 is not set:
- wait 5 tick
- open chest with 1 row named "{@namenoset}" to player
- wait 2 tick
- format slot 3 of player with green wool named "&4BOUTONAME" to close then run [make player execute command "/ss2"]
- format slot 5 of player with red wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
- else:
- send "&4[Erreur] Tu n'as pas la permission d'utiliser cette commande !" to player
- command /ss2 [<offline player>]:
- trigger:
- if player has permission "staff.use":
- if arg 1 is set:
- wait 5 tick
- open chest with 1 row named "{@name}" to player
- wait 2 tick
- format slot 3 of player with blue wool named "&4BOUTONAME" to close then run [make player execute command "/pm %arg 1% Test"]
- format slot 5 of player with black wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
- if arg 1 is not set:
- wait 5 tick
- open chest with 1 row named "{@namenoset}" to player
- wait 2 tick
- format slot 3 of player with blue wool named "&4BOUTONAME" to close then run [make player execute command "/ss1"]
- format slot 5 of player with black wool named "&4BOUTONAME" to close then run [make player execute command "/TACOMMANDE"]
- else:
- 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