Bonjour, j'ai un problème avec mon Skript et pourtant aucuns messages d'erreurs o_O aidez moi SVP !
quand je fait /Paintball join blue sa devrait me faire rejoindre l’équipe des bleu mais sa ne marche pas aucune action n'est visible j'ai donc besoin d'aide pour mon Skript
voici la partie "commande" du Skript :
command /paintball [<text>] [<text>]:
trigger:
if arg 1 is not set:
if player have permission "paintball.operator":
send "{@prefix} {@commandop}" to player
else:
send "{@prefix} {@command}" to player
if arg 1 is set:
if arg 1 is not "join" or "quit" or "spawn" or "setspawn" or "setlobby" or "dellobby" or "delspawn":
if player have permission "paintball.operator":
send "{@prefix} {@commandop}" to player
else:
send "{@prefix} {@command}" to player
if arg 1 is "setspawn":
if player is in "paintball":
if player have permission "paintball.operator":
if arg 2 is not "blue" or "red":
send "{@prefix} {@commandset}" to player
if arg 2 is "blue":
set {paintball.spawn.blue} to location of player
send "{@prefix} &9spawn des &1&lBLEU&r&9 crée avec succés !" to player
if arg 2 is "red":
set {paintball.spawn.red} to location of player
send "{@prefix} &cspawn des &4&lROUGE&r&c crée avec succés !" to player
else:
send "{@prefix} {@perm}" to player
if arg 1 is "setlobby":
if player is in "paintball":
if player have permission "paintball.operator":
set {paintball.lobby} to location of player
send "{@prefix} &6lobby placé avec succés !" to player
else:
send "{@prefix} {@perm}" to player
if arg 1 is "spawn":
if player is in "paintball":
if {paintball.player::%player%} is blue:
teleport player to {paintball.spawn.blue}
if {paintball.player::%player%} is red:
teleport player to {paintball.spawn.red}
if arg 1 is "delspawn":
if player is in "paintball":
if player have permission "paintball.operator":
if arg 2 is not "blue" or "red":
send "{@prefix} {@commanddel}" to player
if arg 2 is "blue":
if {paintball.spawn.blue} is an location:
set {paintball.spawn.blue} to false
send "{@prefix} &9spawn des &1&lBLEU&r&9 spprimé" to player
else:
send "{@prefix} &caucun spawn des bleu n'est crée !" to player
if arg 2 is "red":
if {paintball.spawn.red} is an location:
set {paintball.spawn.red} to false
send "{@prefix} &cspawn des &4&lROUGE&r&c spprimé" to player
else:
send "{@prefix} &caucun spawn des rouge n'est crée !" to player
else:
send "{@prefix} {@perm}" to player
if arg 1 is "dellobby":
if player is in "paintball":
if player have permission "paintball.operator":
if {paintball.lobby} is an location:
set {paintball.lobby} to false
send "{@prefix} &6lobby supprimé avec succés !" to player
else:
send "{@prefix} &caucun lobby n'est crée !" to player
else:
send "{@prefix} {@perm}" to player
if arg 1 is "join":
if arg 2 is not set:
send "{@prefix} {@command}" to player
if arg 2 is set:
if arg 2 is not "blue" or "red":
send "{@prefix} {@command}" to player
if arg 2 is "blue":
set {paintball.player::%player%} to player
set {paintball.player::%player%} to blue
if {paintball::%player%} is false:
send "{@prefix} &atu a rejoint le PaintBall !
teleport player to {paintball.lobby}
add 1 to {paintball}
set {paintball.player::%player%} to player
set {paintball.game::%player%} to true
broadcast "[%{paintball}%/10] &6%player% &aa rejoint le Jeux &6PaintBall"
stop
if {paintball.game::%player%} is true:
send "{@prefix} &cTu a deja rejoint la file d'attente !"
stop
if {paintball} is true:
send "{@prefix} &cla partie a deja commancé, tu ne peut pas la rejoindre !"
stop
if {jumpdown} is equal to 15:
send "{@prefix} &cla partie est pleine, tu ne peut pas la rejoindre !"
stop
if arg 2 is "red":
set {paintball.player::%player%} to player
set {paintball.player::%player%} to red
if {paintball::%player%} is false:
send "{@prefix} &atu a rejoint le PaintBall ! "
teleport player to {paintball.lobby}
add 1 to {paintball}
set {paintball.player::%player%} to player
set {paintball.game::%player%} to true
broadcast "[%{paintball}%/10] &6%player% &aa rejoint le Jeux &6PaintBall"
stop
if {paintball.game::%player%} is true:
send "{@prefix} &cTu a deja rejoint la file d'attente !"
stop
if {paintball} is true:
send "{@prefix} &cla partie a deja commancé, tu ne peut pas la rejoindre !"
stop
if {jumpdown} is equal to 15:
send "{@prefix} &cla partie est pleine, tu ne peut pas la rejoindre !"
stop
if arg 1 is "quit":
if {paintball.game::%player%} is false:
send "{@prefix} &ctu n'est pas dans la partie !"
stop
if {paintball.game::%player%} is true:
send "{@prefix} &cTu a quitté la partie !"
set {paintball.game::%player%} to false
la je n'ai plus de place alors je vous invite a télécharger mon Skript ;)
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.
Question
MartinBJdu14
Bonjour, j'ai un problème avec mon Skript et pourtant aucuns messages d'erreurs o_O aidez moi SVP !
quand je fait /Paintball join blue sa devrait me faire rejoindre l’équipe des bleu mais sa ne marche pas aucune action n'est visible j'ai donc besoin d'aide pour mon Skript
voici la partie "commande" du Skript :
la je n'ai plus de place alors je vous invite a télécharger mon Skript ;)
5 réponses à cette question
Messages recommandés