Bonjour, je souhaite ouvrir un gui à partir d'une commande
Cela marche mais ne marche pas quand je fais un 2eme gui dans la meme commande
command /shop [<text>] [<text>]:
trigger:
if arg 1 is "":
open chest with 3 rows named "&a&l[&d&lKingShop&a&l]" to player
wait 1 tick
format slot 11 of player with 1 of stone named "&aBloc" to close then run "sudo %player% shop block#1096"
format slot 12 of player with 1 of raw fish named "&aNourriture" to close
format slot 14 of player with 1 of redstone named "&aMinerais" to close
format slot 16 of player with 1 of flint named "&aIci, c'est bizzare :P, mais viens voir :)" to close
format slot 0 of player with 1 of orange glass to close
format slot 1 of player with 1 of orange glass to close
format slot 2 of player with 1 of orange glass to close
format slot 3 of player with 1 of orange glass to close
format slot 4 of player with 1 of orange glass to close
format slot 5 of player with 1 of orange glass to close
format slot 6 of player with 1 of orange glass to close
format slot 7 of player with 1 of orange glass to close
format slot 8 of player with 1 of orange glass to close
format slot 9 of player with 1 of orange glass to close
format slot 17 of player with 1 of orange glass to close
format slot 18 of player with 1 of orange glass to close
format slot 19 of player with 1 of orange glass to close
format slot 20 of player with 1 of orange glass to close
format slot 21 of player with 1 of orange glass to close
format slot 22 of player with 1 of orange glass to close
format slot 23 of player with 1 of orange glass to close
format slot 24 of player with 1 of orange glass to close
format slot 25 of player with 1 of orange glass to close
format slot 26 of player with 1 of orange glass to close
if arg 1 is "block#1096":
open chest with 3 rows named "&a&l[&d&lKingShop&a&l]" to player
wait 2 ticks
format slot 11 of player with 1 of stone named "&aBloc" to close
format slot 12 of player with 1 of raw fish named "&aNourriture" to close
format slot 14 of player with 1 of redstone named "&aMinerais" to close
format slot 16 of player with 1 of flint named "&aIci, c'est bizzare :P, mais viens voir :)" to close
format slot 0 of player with 1 of orange glass to close
format slot 1 of player with 1 of orange glass to close
format slot 2 of player with 1 of orange glass to close
format slot 3 of player with 1 of orange glass to close
format slot 4 of player with 1 of orange glass to close
format slot 5 of player with 1 of orange glass to close
format slot 6 of player with 1 of orange glass to close
format slot 7 of player with 1 of orange glass to close
format slot 8 of player with 1 of orange glass to close
format slot 9 of player with 1 of orange glass to close
mes messages d'erreur commence à partir de format slot apres le arg 1 is "block#1096":
Les messages sont tous les meme : "indentation error: expected 2 tabs, but found 3 tabs ( shop.sk line 31 etc etc )
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.
Question
TheBestD34D
Bonjour, je souhaite ouvrir un gui à partir d'une commande
Cela marche mais ne marche pas quand je fais un 2eme gui dans la meme commande
mes messages d'erreur commence à partir de format slot apres le arg 1 is "block#1096":
Les messages sont tous les meme : "indentation error: expected 2 tabs, but found 3 tabs ( shop.sk line 31 etc etc )
2 réponses à cette question
Messages recommandés