Aller au contenu
  • 0

Aide code bizzare !


Question

Posté(e)

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 :

1457207233-2016-03-05-20-43-12.png

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)

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"

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