Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /jobs légaux:
- aliases: /metiers légaux, /job légaux, /jobs légaux
- trigger:
- open chest with 2 rows named "&bMétiers Légaux" to player
- wait 3 ticks
- format slot 0 of player with 1 Chain Helmet named "&aCitoyen" with lore "&fDeviens Citoyen !" to run [make player execute command "citoyen"]
- format slot 1 of player with 1 Cactus Green named "&eBanquier" with lore "&6Deviens Banquier !" to close then run [make player execute command "banquier"]
- format slot 2 of player with 1 Yellow Terracotta named "&6TaxiMan" with lore "&eDeviens TaxiMan" to close then run [make player execute command "TaxiMan"]
- format slot 3 of player with 1 Steak named "&6Serveur Mcdo" with lore "&eDeviens Serveur au MCdo" to close then run [make player execute command "Serveur Mcdo"]
- format slot 4 of player with Enchantment Table named "&dSecrétaire" with lore "&5Deviens Secrétaire" to close then run [make player execute command "Secrétaire"]
- format slot 5 of player with Iron Sword named "&fCuisinier" with lore "&aDeviens Cuisinier" to close then run [make player execute command "Cuisinier"]
- format slot 6 of player with Rotten Flesh named "&2Eboueur" with lore "&aDeviens Eboueur" to close then run [make player execute command "Eboueur"]
- format slot 7 of player with Coal Ore named "&8Agent immobilier" with lore "&7Deviens Agent immobilier" to close then run [make player execute command "imob"]
- format slot 8 of player with Bread named "&6Boulanger" with lore "&eDeviens Boulanger" to close then run [make player execute command "Boulanger"]
- format slot 9 of player with Diamond named "&bBijoutier" with lore "&3Deviens Bijoutier" to close then run [make player execute command "Bijoutier"]
- format slot 10 of player with Wooden Axe named "&aFermier" with lore "&2Deviens Fermier" to close then run [make player execute command "Fermier"]
- format slot 11 of player with Shulker Shell named "&aBûcheron" with lore "&2Deviens Bûcheron" to close then run [make player execute command "Bucheron"]
- command /identity [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- set {name.%player%} to "%arg 1%"
- set {unname.%player%} to "%arg 2%"
- set {age.%player%} to "%arg 3%"
- send "&aTrès bien voici votre carte d'identité"
- send "&aNom: %{name.%player%}%"
- send "&aPrénom: %{unname.%player%}%"
- send "&aâge: %{age.%player%}%"
- send "&aMétier: %{job.%player%}%"
- else:
- if arg 1 is not player:
- send "&cErreur: Quel âge avez vous ?"
- else:
- if arg 1 is not player:
- send "&cErreur: Votre nom de famille s'il vous plait"
- else:
- send "&cErreur: Votre prénom s'il vous plait"
- stop
- if arg 1 is player:
- send "&aNom: %{name.%arg 1%}%"
- send "&aPrénom: %{unname.%arg 1%}%"
- send "&aâge: %{age.%arg 1%}%"
- send "&aMétier: %{job.%arg 1%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement