Chocobolt Posté(e) le 5 mars 2016 Posté(e) le 5 mars 2016 Voici le code : options: logo: &8[ &c&lMiniGames &8] command /mg <text>: trigger: if arg 1 is not set: send "&c&lUsage : &6/mg [<list|cred>]" else if arg 1 is "list" send "&8----{@logo}&8----" send "/mg [NomduMiniGames]" send "&8----[ &c&lListe de MiniGames &8]----" send "&c&l1 - TheTower nom: thetower" send "&c&l2 - SquidShot nom: squidshot" send "&c&l3- BlockParty nom: blockparty" send "&c&l4- BuildBattle nom: buildbattle" send "&c&l5 - PvpSwap nom: pvpswap" send "&c&l d'autre prochainement ..." else if arg 1 is "thetower": make player execute command "warp thetower" send "{@logo} &f: &c&lTéléportation vers TheTowerHub" else if arg 1 is "squidshot": make player execute command "warp squidshot" send "{@logo} &f: &c&lTéléportation vers &3&lSquidShotHub" else if arg 1 is "blockparty": make player execute command "warp blockparty" send "{@logo} &f: &c&lTéléportation vers &e&lBlockPartyHub" else if arg 1 is "buildbattle": make player execute command "warp buildbattle" send "{@logo} &f: &cl&lTéléportation vers &6&lBuildBattleHub" else if arg 1 is "pvpswap": make player execute command "warp pvpswap" send "{@logo} &f: &c&lTéléportation vers &4&lPvpSwapHub" else if arg 1 is "cred": send "&e&lPlugins Codé par Jean_Williams, SquidShot, BuildBattle" Il me fait sa à chaque fois que je met un arg différent :
0 > NoaGamingFR Posté(e) le 5 mars 2016 Posté(e) le 5 mars 2016 Les warps c'est toi qui les à crée en skript ou ca vien d'un pluggins ? Autre que essentials?
0 Chocobolt Posté(e) le 5 mars 2016 Auteur Posté(e) le 5 mars 2016 Cela vient des plugins mais je voudrais savoir pourquoi cela me diffuse tout en même temps avec les séparation des if arg 1 is "blbl"
0 besuper Posté(e) le 5 mars 2016 Posté(e) le 5 mars 2016 Car ton skript est mal fait options: logo: &8[ &c&lMiniGames &8] command /mg <text>: trigger: if arg 1 is not set: send "&c&lUsage : &6/mg [<list|cred>]" if arg 1 is "list": send "&8----{@logo}&8----" send "/mg [NomduMiniGames]" send "&8----[ &c&lListe de MiniGames &8]----" send "&c&l1 - TheTower nom: thetower" send "&c&l2 - SquidShot nom: squidshot" send "&c&l3- BlockParty nom: blockparty" send "&c&l4- BuildBattle nom: buildbattle" send "&c&l5 - PvpSwap nom: pvpswap" send "&c&l d'autre prochainement ..." if arg 1 is "thetower": make player execute command "warp thetower" send "{@logo} &f: &c&lTéléportation vers TheTowerHub" if arg 1 is "squidshot": make player execute command "warp squidshot" send "{@logo} &f: &c&lTéléportation vers &3&lSquidShotHub" if arg 1 is "blockparty": make player execute command "warp blockparty" send "{@logo} &f: &c&lTéléportation vers &e&lBlockPartyHub" if arg 1 is "buildbattle": make player execute command "warp buildbattle" send "{@logo} &f: &cl&lTéléportation vers &6&lBuildBattleHub" if arg 1 is "pvpswap": make player execute command "warp pvpswap" send "{@logo} &f: &c&lTéléportation vers &4&lPvpSwapHub" if arg 1 is "cred": send "&e&lPlugins Codé par Jean_Williams, SquidShot, BuildBattle"
0 Chocobolt Posté(e) le 6 mars 2016 Auteur Posté(e) le 6 mars 2016 Ne fonctionne pas mais j'ai trouve la solution faire une commande par une
Question
Chocobolt
Voici le code :
Il me fait sa à chaque fois que je met un arg différent :
6 réponses à cette question
Messages recommandés