Aller au contenu
  • 0

Kit error console


Question

Posté(e)

command /kit <text>:
   trigger:
       if arg 1 is "voleur":
           set helmet of the player to a diamond helmet of protection 2
           set chestplate of the player to a diamond chestplate of protection 2
           set leggings of the player to a diamond leggings of protection 2
           set boots of the player to a diamond boots of protection 2
           set slot 0 of player to diamond sword of sharpness 3
           set slot 1 of player to fishing rod of unbreaking 3
           set slot 2 of player to bow of power 3
           set slot 3 of player to 64 steak
           set slot 4 of player to water bucket
           set slot 5 of player to lava bucket
           set slot 6 of player to lava bucket
           set slot 7 of player to 3 golden apple named "&2Golden Head"
           set slot 8 of player to 6 golden apple
           set slot 9 of player to 64 arrow
           set slot 10 of player to 64 arrow
           send "&aTu as recu le kit Voleur"
       if arg 1 is "soup":
           equip player with iron helmet
           equip player with iron chestplate
           equip player with iron leggings
           equip player with iron boots
           set slot 0 of player to iron sword
           set slot 1 of player to mushroom soup
           set slot 2 of player to mushroom soup
           set slot 3 of player to mushroom soup
           set slot 4 of player to mushroom soup
           set slot 5 of player to mushroom soup
           set slot 6 of player to mushroom soup
           set slot 7 of player to mushroom soup
           set slot 8 of player to mushroom soup
           send "&aTu as recu le kit soup ! "

command /pkit <text>:
   trigger:
       if arg 1 is "Titan007":
           set helmet of the player to a diamond helmet of protection 2
           set chestplate of the player to a diamond chestplate of protection 2
           set leggings of the player to a diamond leggings of protection 2
           set boots of the player to a diamond boots of protection 2
           set slot 0 of player to water bucket
           set slot 1 of player to diamond sword of sharpness 3
           set slot 2 of player to fishing rod of unbreaking 3
           set slot 3 of player to bow of power 3
           set slot 4 of player to water bucket
           set slot 5 of player to 3 golden apple named "&2Golden Head"
           set slot 6 of player to 6 golden apple
           set slot 7 of player to lava bucket
           set slot 8 of player to lava bucket
           set slot 9 of player to 64 arrow
           set slot 10 of player to 64 arrow

 

Ceci est mon skript et mon erruer est ici

 

[12:35:30] [server thread/INFO]: [skript] Reloading the config and all scripts...
[12:35:30] [server thread/INFO]: Loaded a total of 11504 english aliases
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 13: set slot 5 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 14: set slot 6 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 34: send "&aTu as recu le kit soup ! "')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found '->____' [-> = tab, _ = space, ? = other whitespace] (kit.sk, line 38: if arg 1 is "Titan007":')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found '->->____' [-> = tab, _ = space, ? = other whitespace] (kit.sk, line 39: set helmet of the player to a diamond helmet of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 40: set chestplate of the player to a diamond chestplate of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 41: set leggings of the player to a diamond leggings of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 42: set boots of the player to a diamond boots of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 3 tabs (kit.sk, line 43: set slot 0 of player to water bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 44: set slot 1 of player to diamond sword of sharpness 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 45: set slot 2 of player to fishing rod of unbreaking 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 46: set slot 3 of player to bow of power 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 47: set slot 4 of player to water bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 48: set slot 5 of player to 3 golden apple named "&2Golden Head"')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 49: set slot 6 of player to 6 golden apple')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 50: set slot 7 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 51: set slot 8 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 52: set slot 9 of player to 64 arrow')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 53: set slot 10 of player to 64 arrow')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (modedejeu.sk, line 10: every 20 second')
[12:35:30] [server thread/INFO]: Loaded 2 scripts with a total of 3 triggers and 3 commands in 0.1 seconds
[12:35:30] [server thread/INFO]: [skript] Encountered 20 errors while reloading the config and all scripts!

 

Voila que dois je regler ?

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)
command /kit <text>:
   trigger:
       if arg 1 is "voleur":
           set helmet of the player to a diamond helmet of protection 2
           set chestplate of the player to a diamond chestplate of protection 2
           set leggings of the player to a diamond leggings of protection 2
           set boots of the player to a diamond boots of protection 2
           set slot 0 of player to diamond sword of sharpness 3
           set slot 1 of player to fishing rod of unbreaking 3
           set slot 2 of player to bow of power 3
           set slot 3 of player to 64 steak
           set slot 4 of player to water bucket
           set slot 5 of player to lava bucket
           set slot 6 of player to lava bucket
           set slot 7 of player to 3 golden apple named "&2Golden Head"
           set slot 8 of player to 6 golden apple
           set slot 9 of player to 64 arrow
           set slot 10 of player to 64 arrow
           send "&aTu as recu le kit Voleur"
       if arg 1 is "soup":
           equip player with iron helmet
           equip player with iron chestplate
           equip player with iron leggings
           equip player with iron boots
           set slot 0 of player to iron sword
           set slot 1 of player to mushroom soup
           set slot 2 of player to mushroom soup
           set slot 3 of player to mushroom soup
           set slot 4 of player to mushroom soup
           set slot 5 of player to mushroom soup
           set slot 6 of player to mushroom soup
           set slot 7 of player to mushroom soup
           set slot 8 of player to mushroom soup
           send "&aTu as recu le kit soup ! "

command /pkit <text>:
   trigger:
       if arg 1 is "Titan007":
           set helmet of the player to a diamond helmet of protection 2
           set chestplate of the player to a diamond chestplate of protection 2
           set leggings of the player to a diamond leggings of protection 2
           set boots of the player to a diamond boots of protection 2
           set slot 0 of player to water bucket
           set slot 1 of player to diamond sword of sharpness 3
           set slot 2 of player to fishing rod of unbreaking 3
           set slot 3 of player to bow of power 3
           set slot 4 of player to water bucket
           set slot 5 of player to 3 golden apple named "&2Golden Head"
           set slot 6 of player to 6 golden apple
           set slot 7 of player to lava bucket
           set slot 8 of player to lava bucket
           set slot 9 of player to 64 arrow
           set slot 10 of player to 64 arrow

 

Ceci est mon skript et mon erruer est ici

 

[12:35:30] [server thread/INFO]: [skript] Reloading the config and all scripts...
[12:35:30] [server thread/INFO]: Loaded a total of 11504 english aliases
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 13: set slot 5 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 14: set slot 6 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 3 tabs (kit.sk, line 34: send "&aTu as recu le kit soup ! "')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found '->____' [-> = tab, _ = space, ? = other whitespace] (kit.sk, line 38: if arg 1 is "Titan007":')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found '->->____' [-> = tab, _ = space, ? = other whitespace] (kit.sk, line 39: set helmet of the player to a diamond helmet of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 40: set chestplate of the player to a diamond chestplate of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 41: set leggings of the player to a diamond leggings of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 42: set boots of the player to a diamond boots of protection 2')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 3 tabs (kit.sk, line 43: set slot 0 of player to water bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 44: set slot 1 of player to diamond sword of sharpness 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 45: set slot 2 of player to fishing rod of unbreaking 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 46: set slot 3 of player to bow of power 3')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 47: set slot 4 of player to water bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 48: set slot 5 of player to 3 golden apple named "&2Golden Head"')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 49: set slot 6 of player to 6 golden apple')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 50: set slot 7 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 51: set slot 8 of player to lava bucket')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 52: set slot 9 of player to 64 arrow')
[12:35:30] [server thread/ERROR]: indentation error: expected 8 spaces, but found 12 spaces (kit.sk, line 53: set slot 10 of player to 64 arrow')
[12:35:30] [server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (modedejeu.sk, line 10: every 20 second')
[12:35:30] [server thread/INFO]: Loaded 2 scripts with a total of 3 triggers and 3 commands in 0.1 seconds
[12:35:30] [server thread/INFO]: [skript] Encountered 20 errors while reloading the config and all scripts!

 

Voila que dois je regler ?

Problème de TAB/Espaces.

Voilà voilà...

  • 0
Posté(e)
Et comment je regle ca ?

Et bien c'est simple , tu doit choisir :

Soit tu met que des TAB dans tes débuts de lignes,

Soit que des espaces.

L'erreur vient du fait que tu as dû mettre des espaces ET des TAB.

Si tu as besoin d'aide n'hésite pas.

Cordialement

WaWaNBoSs

×
×
  • 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.