SnoZ_ 0 Posté : 18 avril 2016 Bonjour, je débute en skript et j'ai un problème, "Invalide line - all code has to be put into triggers" Voici le Skript : command /camp description: This is an example command permission: skript.camp usage: /camp trigger: make console execute command "/give %player% 268 1 0 {ench:[{id:19,lvl:10}]}" make console execute command "/vanish %player%" set slot 2 of player to stick named "&6Verif" set slot 3 of player book named "&eInfos" on right click on a player: if player's tool is a stick: make console execute command "/verif %targeted entity%" on right click on a player: if player's tool is a book: if name of player's tool is "&6Livre d'informations": send "&3Nom: &b%targeted entity%" send "&3UUID: &b%targeted entity's uuid%" send "&3Adresse IP: &b%targeted entity's ip%" send "&3Ping: &b%targeted entity's ping%" send "&3Vie: &b%targeted entity's health%/10" send "&3Gamemode: &b%targeted entity's gamemode%" if targeted entity is op: send "&3OP: &2true" else if targeted entity is not op: send "&3OP: &cfalse" Merci pour votre aide :) Cordialement, SnoZ_ Partager ce message Lien à poster Partager sur d’autres sites
Nashoba 254 Répondu : 18 avril 2016 Tu n'a pas mis ":" après "command /camp". De plus, tu n'a pas mis ton code entre [.code][./code] (sans les points), je ne peux pas voir les tabulations. Du coup j'ai refait les tabulations: Contenu masqué Réagissez ou répondez à ce message afin de consulter le contenu masqué. 1 Partager ce message Lien à poster Partager sur d’autres sites
SnoZ_ 0 Répondu : 19 avril 2016 Merci Beaucoup Partager ce message Lien à poster Partager sur d’autres sites