Aller au contenu

Classement

Contenu populaire

Affichage du contenu avec la meilleure réputation le 10/07/2016 dans toutes les zones

  1. Salut, si j'ai bien compris, voilà le code que tu souhaitais : on death: victim is a player: chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:20,lvl:2}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:16,lvl:3}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:0,lvl:2}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:2,lvl:2}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:48,lvl:3}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:49,lvl:2}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:50,lvl:2}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:21,lvl:3}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:32,lvl:4}]}" chance of 10%: execute console command "/give %attacker% enchanted_book 1 0 {StoredEnchantments:[{id:34,lvl:2}]}" #Remplacer le id:xx par l'ID de l'enchantement souhaité, et remplacer lvl:x par le niveau de l'enchantement souhaité.
    1 point
  2. Inspire toi de ça (dsl j'ai pas le temps de te faire un vrai code je te copie donc mon propre système de reload qui devrait t'aider pour ton code) command /skr [<string>]: trigger: # sender is op or console send "<green>Reload %hour%:%minute%:%second%" to sender if arg-1 is not set: run player command "/skript reload all" as op stop set {_reload::*} to arg-1 split by " " parsed as text loop {_reload::*}: replace "*" in {_reload::%loop-index%} with " " run player command "/skript reload%{_reload::%loop-index%}%" as op En gros quand je fais /skr name1 name2 name3 name4 name*test ça exécute les commandes /skript reload name1 /skript reload name2 /skript reload name3 /skript reload name4 /skript reload name test #ici tu remarque qu'il y a un espace entre "name" et "test" grâce au symbole "*" en bref tu devra te servir de ceci > set {_reload::*} to arg-1 split by " " parsed as text
    1 point
  3. Sinon tu peux mettre un item a la fin de la "HotBar" et quand on clic dessus cela nous met une autre série d'items. Exemple: on join: set slot 0 of player to wool:0 set slot 1 of player to wool:1 set slot 2 of player to wool:2 set slot 3 of player to wool:3 set slot 4 of player to wool:4 set slot 5 of player to wool:5 set slot 6 of player to wool:6 set slot 7 of player to wool:7 set slot 8 of player to bars named "&cPage suivante >" on right click with bars: if name of tool of player is "&cPage suivante >": set slot 0 of player to bars named "&c< Page précédante" set slot 1 of player to stained clay:0 set slot 2 of player to stained clay:1 set slot 3 of player to stained clay:2 set slot 4 of player to stained clay:3 set slot 5 of player to stained clay:4 set slot 6 of player to stained clay:5 set slot 7 of player to stained clay:6 set slot 8 of player to stained clay:7 if name of tool of player is "&c< Page précédante": set slot 0 of player to wool:0 set slot 1 of player to wool:1 set slot 2 of player to wool:2 set slot 3 of player to wool:3 set slot 4 of player to wool:4 set slot 5 of player to wool:5 set slot 6 of player to wool:6 set slot 7 of player to wool:7 set slot 8 of player to bars named "&cPage suivante >" Ca marche, je l'ai tester ;)
    1 point
  4. T'inquiete j'ai résolue ca en 3x moins de ligne que toi mais merci quand meme. :D
    1 point
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.