Advertisement
Guest User

problème skript broadcast

a guest
Feb 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. command /jobs légaux:
  2. aliases: /metiers légaux, /job légaux, /jobs légaux
  3. trigger:
  4. open chest with 2 rows named "&bMétiers Légaux" to player
  5. wait 3 ticks
  6. format slot 0 of player with 1 Chain Helmet named "&aCitoyen" with lore "&fDeviens Citoyen !" to run [make player execute command "citoyen"]
  7. format slot 1 of player with 1 Cactus Green named "&eBanquier" with lore "&6Deviens Banquier !" to close then run [make player execute command "banquier"]
  8. format slot 2 of player with 1 Yellow Terracotta named "&6TaxiMan" with lore "&eDeviens TaxiMan" to close then run [make player execute command "TaxiMan"]
  9. 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"]
  10. 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"]
  11. format slot 5 of player with Iron Sword named "&fCuisinier" with lore "&aDeviens Cuisinier" to close then run [make player execute command "Cuisinier"]
  12. format slot 6 of player with Rotten Flesh named "&2Eboueur" with lore "&aDeviens Eboueur" to close then run [make player execute command "Eboueur"]
  13. 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"]
  14. format slot 8 of player with Bread named "&6Boulanger" with lore "&eDeviens Boulanger" to close then run [make player execute command "Boulanger"]
  15. format slot 9 of player with Diamond named "&bBijoutier" with lore "&3Deviens Bijoutier" to close then run [make player execute command "Bijoutier"]
  16. format slot 10 of player with Wooden Axe named "&aFermier" with lore "&2Deviens Fermier" to close then run [make player execute command "Fermier"]
  17. 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"]
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224. command /identity [<text>] [<text>] [<text>]:
  225. trigger:
  226. if arg 1 is set:
  227. if arg 2 is set:
  228. if arg 3 is set:
  229. set {name.%player%} to "%arg 1%"
  230. set {unname.%player%} to "%arg 2%"
  231. set {age.%player%} to "%arg 3%"
  232. send "&aTrès bien voici votre carte d'identité"
  233. send "&aNom: %{name.%player%}%"
  234. send "&aPrénom: %{unname.%player%}%"
  235. send "&aâge: %{age.%player%}%"
  236. send "&aMétier: %{job.%player%}%"
  237. else:
  238. if arg 1 is not player:
  239. send "&cErreur: Quel âge avez vous ?"
  240. else:
  241. if arg 1 is not player:
  242. send "&cErreur: Votre nom de famille s'il vous plait"
  243. else:
  244. send "&cErreur: Votre prénom s'il vous plait"
  245. stop
  246. if arg 1 is player:
  247. send "&aNom: %{name.%arg 1%}%"
  248. send "&aPrénom: %{unname.%arg 1%}%"
  249. send "&aâge: %{age.%arg 1%}%"
  250. send "&aMétier: %{job.%arg 1%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement