Aller au contenu
  • 0

Monde défini


Invité

Question

Posté(e)

Hey, j'aimerai savoir si on pouvais choisir dans quel monde un skript pourrai être fonctionnel.

 

Exemple :

#Touché au Bigy PvP que ici.
options:
    bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.
command /bpkit <text>:
  trigger:
    if arg 1 is "poison":
      make player execute command "/gamemode 2"
      clear the player's inventory
      equip player with leather helmet #Casque
      equip player with leather chestplate #Torse
      equip player with leather leggings #Jambes
      equip player with leather boots #Bottes
      give poppy of sharpness 3 named "&2Poison Ivy" to player
      message "{@bpkit}: &7Kit &2Poison Ivy &7obtenu avec succès !" #Modifier le message ici.
[/ code]

Ou je pourrai mettre la ligne de code?

Merci

  • Réponses 70
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans cette question

Meilleurs contributeurs dans cette question

Messages recommandés

  • 0
Posté(e)

Ou sinon tu peut metre :

Options:
   world: lobby #A changer

#et apres dans t'es skript tu fait

If player is in world "{@world}":

 

 

Ou tu peux set in games

 

command /setworld:
    trigger:
        set {World.sk} to world of player

#ps pas sur que sa marche ..

 

mais dans tout les cas tu devras utiliser if player ...

  • 0
Posté(e)
Ou sinon tu peut metre :

Options:
   world: lobby #A changer

#et apres dans t'es skript tu fait

If player is in world "{@world}":

 

 

Ou tu peux set in games

 

command /setworld:
    trigger:
        set {World.sk} to world of player

#ps pas sur que sa marche ..

 

mais dans tout les cas tu devras utiliser if player ...

 

Sa fonctionne pas.

  • 0
Posté(e)

Ton code. Sur tous les mondes on peut toujours tu peut Kobra ?

  • 0
Posté(e)
 
#Touché au Bigy PvP que ici.
options:
    bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.

command /bpkit <text>:
  trigger:
    if arg 1 is "poison":
      player is in "PtitCoonLand"
      make player execute command "/gamemode 2"
      clear the player's inventory
      equip player with leather helmet #Casque
      equip player with leather chestplate #Torse
      equip player with leather leggings #Jambes
      equip player with leather boots #Bottes
      give poppy named "&2Poison Ivy" to player
      set {kit.%player%} to "poison"
      message "{@bpkit}: &7Kit &2Poison Ivy &7obtenu avec succès !" #Modifier le message ici.

On damage of a player:
 if {kit.%attacker%} is "poison":
 chance of 35%:
 apply poison to the victim for 10 seconds

  • 0
Posté(e)

fait :

 

options:
   world: world #le nom du monde ou sa marche

command /exemple [<text>]:
   trigger:
       if player is in world "{@world}": #Voila
           if arg 1 is "poison":
                #ton code

Ps : Important : les tab ne sont pas bien mise je suis sur tel !

  • 0
Posté(e)
 
#Touché au Bigy PvP que ici.
options:
    bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.

command /bpkit <text>:
  trigger:
    player is in "PtitCoonLand"
    if arg 1 is "poison":
      make player execute command "/gamemode 2"
      clear the player's inventory
      equip player with leather helmet #Casque
      equip player with leather chestplate #Torse
      equip player with leather leggings #Jambes
      equip player with leather boots #Bottes
      give poppy named "&2Poison Ivy" to player
      set {kit.%player%} to "poison"
      message "{@bpkit}: &7Kit &2Poison Ivy &7obtenu avec succès !" #Modifier le message ici.

  • 0
Posté(e)
#Touché au Bigy PvP que ici.
options:
    bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.
    world: PtitCoonLand

command /bpkit <text>:
  trigger:
    if player is in world "{@world}":
    if arg 1 is "poison":
      make player execute command "/gamemode 2"
      clear the player's inventory
      equip player with leather helmet #Casque
      equip player with leather chestplate #Torse
      equip player with leather leggings #Jambes
      equip player with leather boots #Bottes
      give poppy named "&2Poison Ivy" to player
      set {kit.%player%} to "poison"
      message "{@bpkit}: &7Kit &2Poison Ivy &7obtenu avec succès !" #Modifier le message ici.

 

options:

bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.

world: PtitCoonLand

 

command /bpkit <text>:

trigger:

if player is in world "{@world}":

if arg 1 is "poison":

make player execute command "/gamemode 2"

clear the player's inventory

equip player with leather helmet #Casque

equip player with leather chestplate #Torse

equip player with leather leggings #Jambes

equip player with leather boots #Bottes

give poppy named "&2Poison Ivy" to player

set {kit.%player%} to "poison"

  • 0
Posté(e)
#Touché au Bigy PvP que ici.

options:

bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.

 

command /bpkit <text>:

trigger:

player is in "PtitCoonLand"

if arg 1 is "poison":

make player execute command "/gamemode 2"

clear the player's inventory

equip player with leather helmet #Casque

equip player with leather chestplate #Torse

equip player with leather leggings #Jambes

equip player with leather boots #Bott

?? J'ai pas compris.

  • 0
Posté(e)
Y'a des erreurs quand tu reload ? Si oui, met un screen, si non, je vous pas est ou l'erreur

Voilà mon code :

#Touché au Bigy PvP que ici.
options:
    bpkit: &e[&6Bigy &cPvP&e] &f #Modifier ici.
    world: test

command /bpkit <text>:
  trigger:
    if player is in world "{@world}":
      if arg 1 is "poison":
        make player execute command "/gamemode 2"
        clear the player's inventory
        equip player with leather helmet #Casque
        equip player with leather chestplate #Torse
        equip player with leather leggings #Jambes
        equip player with leather boots #Bottes
        give poppy named "&2Poison Ivy" to player
        set {kit.%player%} to "poison"
        message "{@bpkit}: &7Kit &2Poison Ivy &7obtenu avec succès !" #Modifier le message ici.

On damage of a player:
 if {kit.%attacker%} is "poison":
 chance of 35%:
 apply poison to the victim for 10 seconds


 

 

Sa marche :)

  • 0
Posté(e)

Par contre comment mettre l'effect de poison juste quand on tappe avec la fleur et l'integrer avec le skript car je trouve pas non plus

  • 0
Posté(e)
Ok met en résolu alors.

Et pour ceci:

Par contre comment mettre l'effect de poison juste quand on tappe avec la fleur et l'integrer avec le skript car je trouve pas non plus ?

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.

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