[Skript] Mes scripts ne marche pas

Titanfal77

Gameur :P
20 Juin 2015
28
0
14
Le problème est dans le titre.


Le script :

Code:
command /rls:
permission: reload.admin
    trigger:
        broadcast &cRELOAD DANS &e10 &cSECONDES !
        wait 5 seconds
        broadcast &cRELOAD DANS &e5 &cSECONDES !
        wait 2 seconds
        broadcast &cRELOAD DANS &e3 &cSECONDES !
        wait 1 second
        broadcast &cRELOAD DANS &e2 &cSECONDES !
        wait 1 second
        broadcast &cRELOAD DANS &e1 &cSECONDE !
        wait 1 second
        broadcast &cRELOAD &eIMMINENT &c!
        make console execute command ["/reload"]

L'erreur dans la console au démarrage :

Code:
[13:07:16] [WARN] [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (Reload.sk, line 1: command /rls:')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 1 tab (Reload.sk, line 3: trigger:')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 4: broadcast &cRELOAD DANS &e10 &cSECONDES !')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 5: wait 5 seconds')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 6: broadcast &cRELOAD DANS &e5 &cSECONDES !')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 7: wait 2 seconds')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 8: broadcast &cRELOAD DANS &e3 &cSECONDES !')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 9: wait 1 second')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 10: broadcast &cRELOAD DANS &e2 &cSECONDES !')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 11: wait 1 second')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 12: broadcast &cRELOAD DANS &e1 &cSECONDE !')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 13: wait 1 second')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 14: broadcast &cRELOAD &eIMMINENT &c!')
[13:07:16] [ERROR] [Skript] indentation error: expected 0 tabs, but found 2 tabs (Reload.sk, line 15: make console execute command ["/reload"]')

---

[13:07:16] [ERROR] [Skript] Required entry 'trigger' is missing in 'command /rls' (Reload.sk, starting at line 1) (Reload.sk, line 1: command /rls:')
[13:07:16] [ERROR] [Skript] invalid line - all code has to be put into triggers (Reload.sk, line 2: permission: reload.admin')

Code:
[13:07:16] [WARN] [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bvn.sk, line 1: command /bvn:')
[13:07:16] [WARN] [Skript] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (bvn.sk, line 3: trigger:')

---

[13:07:16] [ERROR] [Skript] Required entry 'trigger' is missing in 'command /bvn' (bvn.sk, starting at line 1) (bvn.sk, line 1: command /bvn:')
[13:07:16] [ERROR] [Skript] invalid line - all code has to be put into triggers (bvn.sk, line 2: aliases: bienvenue')
[13:07:16] [ERROR] [Skript] can't understand this event: 'trigger' (bvn.sk, line 3: trigger:')
[13:07:16] [ERROR] [Skript] invalid line - all code has to be put into triggers (bvn.sk, line 4: broadcast "&c[&6&nBienvenue&r&c] &aLe Joueur &6%player% &3souhaite la bienvenue au nouveau membre !"')

A la fin des [ERROR] j'ai sa :
Code:
[13:07:16] [INFO] [Skript] Loaded 2 scripts with a total of 0 triggers and 0 commands in 0.02 seconds

Merci pour votre aide !
 

Pungle_

@Pungle_
28 Octobre 2013
2 370
457
247
25
make console execute command ["/reload"]
Le problème doit venir de là, normalement la console fait la commande "reload" et non "/reload"

You might want to indent
Problème d'indentation surement
Required entry 'trigger'
Y'a pas de trigger

all code has to be put into triggers
Mauvaise indentation (pas dans le trigger)

Sinon, rajoute le code de ton skript 2 ^^
 

Pungle_

@Pungle_
28 Octobre 2013
2 370
457
247
25
broadcast "&c[&6&nBienvenue&r&c] &aLe Joueur &6%player% &3souhaite la bienvenue au nouveau membre !"
Tu sais que Essentials le fait hein quand un nouveau membre se connecte x)
Sinon, c'est juste un problème d'indentation ^^ ta commande "broadcast" n'est pas dans le trigger
Code:
command /bvn:
aliases: bienvenue
trigger:
    broadcast "&c[&6&nBienvenue&r&c] &aLe Joueur &6%player% &3souhaite la bienvenue au nouveau membre !"

Après je m'y connais pas en Skript mais cela se rapproche beaucoup du Python donc je pense que le problème doit être l'indentation ^^
 

Alex Fatta

Commandant de la Flotte et de la Horde
13 Août 2014
1 391
1
191
187
Bonsoir !

Les gars ce serait cool de pas mettre 'Tout est dans le titre.', non seulement ca vous fait passer pour des flemmards, et ce n'est pas agréable a la lecture. C'est pas comme ci vous deviez retaper tout un texte, c'est juste un titre, faites juste cet effort svp les gens, je le dit pour tous le monde en général

Bon sinon Skript est simple : cette erreur c'est l,indentation foireuse Tu te gourre sur des espaces et des tabs Tu règles juste ces problèmes et les erreurs disparaitront

AlexFatta