Aller au contenu
  • 0

Can't understand this condition


Question

Posté(e)

Version de Minecraft : 1.8.8

Problème:

Bonjour, bonsoir, je créé un skript d'optimisation quand on fait /staff, mais j'ai un petit problème sur une option de mon code

on command "/reports notify":
   if player has permission "kstaff.report":
       if {staff.report.%player%} isn't set:
           set {staff.report.%player%} to true
           stop
       if {staff.v.%player%} is set:
           on command "/reports notify":
               cancel event
               send "&cTu ne peux pas désactiver les notifications quand tu es en /staff"
       if {staff.report.%player%} is set:
       delete {staff.report.%player%}
       stop

Ce qui me donne une jolie erreur : "

can't understand this condition: 'on command "/reports notify"' (staff.sk, line 23: on command "/reports notify":')"

Pourriez vous m'aidez ?

3 réponses à cette question

Messages recommandés

  • 0
Posté(e)
Version de Minecraft : 1.8.8

Problème:

Bonjour, bonsoir, je créé un skript d'optimisation quand on fait /staff, mais j'ai un petit problème sur une option de mon code

on command "/reports notify":
   if player has permission "kstaff.report":
       if {staff.report.%player%} isn't set:
           set {staff.report.%player%} to true
           stop
       if {staff.v.%player%} is set:
           on command "/reports notify":
               cancel event
               send "&cTu ne peux pas désactiver les notifications quand tu es en /staff"
       if {staff.report.%player%} is set:
       delete {staff.report.%player%}
       stop

Ce qui me donne une jolie erreur : "

can't understand this condition: 'on command "/reports notify"' (staff.sk, line 23: on command "/reports notify":')"

Pourriez vous m'aidez ?

Version skript ?

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.