PayeTonPseudo Posté(e) le 1 décembre 2019 Posté(e) le 1 décembre 2019 Version de Minecraft : 1.8Version de Skript : 2.4.0 Type du skript : TempMute Description du script : Bonjour à tous. J'ai un petit problème avec mon skript. Quand je le reload im me marque des erreurs [16:08:35 ERROR]: indentation error: expected 4 tabs, but found 3 tabs (mute.sk, line 5: if arg 1 is not set:') [16:08:35 ERROR]: indentation error: expected 4 tabs, but found 3 tabs (mute.sk, line 7: if arg 2 is not set:') [16:08:35 ERROR]: indentation error: expected 4 tabs, but found 3 tabs (mute.sk, line 9: if arg 2 is "Spam":') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 11: broadcast "&8&l[&9&lModÚration&8&l] &a%arg 1% &6Ó ÚtÚ mute par &e%player% &6pour &4Spam"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 12: add "%arg 1%" to {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 13: set {mute.%arg 1%} to true') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 14: send "&8&l[&9&lModÚration&8&l] &7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 15: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7a ÚtÚ rÚduit au silence par %player%."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 16: wait 7200 seconds') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 17: remove "%arg-1%" from {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 18: set {mute.%arg 1%} to false') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 19: broadcast "&8&l[&9&lModÚration&8&l] &6%arg-1% n'est plus mute"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 20: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 10: if {mute.%arg 1%} is not set:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 22: delete {mute.%arg-1%}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 23: send " &8&l[&9&lModÚration&8&l]&7Tu a ÚtÚ rÚduit au silence par &6%arg-1%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 24: message "&8&l[&9&lModÚration&8&l] &6%player% &7n'est plus rÚduit au silence."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 25: stop') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 3 tabs (mute.sk, line 26: if arg 2 is "Insultes":') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 21: if {mute.%arg-1%} is true:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 28: broadcast "&8&l[&9&lModÚration&8&l] &a%arg 1% &6Ó ÚtÚ mute par &e%player% &6pour &4Insultes"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 29: add "%arg 1%" to {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 30: set {mute.%arg 1%} to true') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 31: send "&8&l[&9&lModÚration&8&l] &7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 32: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7a ÚtÚ rÚduit au silence par %player%."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 33: wait 3600 seconds') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 34: remove "%arg-1%" from {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 35: set {mute.%arg 1%} to false') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 36: broadcast "&8&l[&9&lModÚration&8&l] &6%arg-1% n'est plus mute"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 37: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 27: if {mute.%arg 1%} is not set:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 39: delete {mute.%arg-1%}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 40: send " &8&l[&9&lModÚration&8&l]&7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 41: message "&8&l[&9&lModÚration&8&l] &6%player% &7n'est plus rÚduit au silence."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 42: stop') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 3 tabs (mute.sk, line 43: if arg 2 is "MenaceIG":') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 38: if {mute.%arg-1%} is true:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 45: broadcast "&8&l[&9&lModÚration&8&l] &a%arg 1% &6Ó ÚtÚ mute par &e%player% &6pour &4MenaceIG"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 46: add "%arg 1%" to {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 47: set {mute.%arg 1%} to true') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 48: send "&8&l[&9&lModÚration&8&l] &7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 49: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7a ÚtÚ rÚduit au silence par %player%."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 50: wait 18000 seconds') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 51: remove "%arg-1%" from {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 52: set {mute.%arg 1%} to false') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 53: broadcast "&8&l[&9&lModÚration&8&l] &6%arg-1% n'est plus mute"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 54: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 44: if {mute.%arg 1%} is not set:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 56: delete {mute.%arg-1%}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 57: send " &8&l[&9&lModÚration&8&l]&7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 58: message "&8&l[&9&lModÚration&8&l] &6%player% &7n'est plus rÚduit au silence."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 59: stop') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 3 tabs (mute.sk, line 60: if arg 2 is "MenaceIRL":') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 55: if {mute.%arg-1%} is true:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 62: broadcast "&8&l[&9&lModÚration&8&l] &a%arg 1% &6Ó ÚtÚ mute par &e%player% &6pour &4MenaceIRL"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 63: add "%arg 1%" to {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 64: set {mute.%arg 1%} to true') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 65: send "&8&l[&9&lModÚration&8&l] &7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 66: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7a ÚtÚ rÚduit au silence par %player%."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 67: wait 28800 seconds') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 68: remove "%arg-1%" from {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 69: set {mute.%arg 1%} to false') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 70: broadcast "&8&l[&9&lModÚration&8&l] &6%arg-1% n'est plus mute"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 71: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 61: if {mute.%arg 1%} is not set:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 73: delete {mute.%arg-1%}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 74: send " &8&l[&9&lModÚration&8&l]&7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 75: message "&8&l[&9&lModÚration&8&l] &6%player% &7n'est plus rÚduit au silence."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 76: stop') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 3 tabs (mute.sk, line 77: if arg 2 is "IMSG":') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 72: if {mute.%arg-1%} is true:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 79: broadcast "&8&l[&9&lModÚration&8&l] &a%arg 1% &6Ó ÚtÚ mute par &e%player% &6pour &4Insulte en MSG"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 80: add "%arg 1%" to {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 81: set {mute.%arg 1%} to true') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 82: send "&8&l[&9&lModÚration&8&l] &7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 83: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7a ÚtÚ rÚduit au silence par %player%."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 84: wait 25200 seconds') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 85: remove "%arg-1%" from {essentialsskript.mutelist::*}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 86: set {mute.%arg 1%} to false') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 87: broadcast "&8&l[&9&lModÚration&8&l] &6%arg-1% n'est plus mute"') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 88: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 78: if {mute.%arg 1%} is not set:') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 90: delete {mute.%arg-1%}') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 91: send " &8&l[&9&lModÚration&8&l]&7Tu a ÚtÚ rÚduit au silence par &6%player%&7." to arg 1') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 92: message "&8&l[&9&lModÚration&8&l] &6%arg-1% &7n'est plus rÚduit au silence."') [16:08:35 ERROR]: indentation error: expected 6 tabs, but found 5 tabs (mute.sk, line 93: stop') [16:08:35 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (mute.sk, line 89: if {mute.%arg-1%} is true:') Je n'arrive vraiment pas à régler ce problème. Merci de m'aider . Voici le skript en entier. command /tempmute [<offline player>] [<text>]: permission: Modo permission message: "&cBien essayer mais non !" trigger: if arg 1 is not set: message "&8&l[&9&lModération&8&l] &7&lVeuillez indiquer le nom du joueur !" if arg 2 is not set: message " &8&l[&9&lModération&8&l] &7&lVeuillez indiquer la raison pour sanctionner le joueur !" if arg 2 is "Spam": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Spam" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 7200 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%arg-1%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "Insultes": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Insultes" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 3600 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "MenaceIG": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4MenaceIG" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 18000 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "MenaceIRL": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4MenaceIRL" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 28800 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "IMSG": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Insulte en MSG" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 25200 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7n'est plus réduit au silence." stop
xd_Rekt Posté(e) le 1 décembre 2019 Posté(e) le 1 décembre 2019 Ceci est un problème de tab, refait juste tes espaces 😉
Alliz Posté(e) le 2 décembre 2019 Posté(e) le 2 décembre 2019 Je dirais le contraire de @xd_Rekt, plutôt refais tes tabs. Il est mieux de réaliser ces skripts ( et tout autre language d'ailleurs ! ) avec des tabulations, cela évite de nombreuses erreurs. Utilise le raccourci Shift+Tab pour décrementer (espaces ou tab) et fais tab pour bien les remettres
xd_Rekt Posté(e) le 2 décembre 2019 Posté(e) le 2 décembre 2019 Je sais @Alliz mais j'ai jamais utilisé les tabs.
Alliz Posté(e) le 2 décembre 2019 Posté(e) le 2 décembre 2019 C'est pas un grand apprentissage, fais comme ça ce sera mieux ^^ Néanmoins, ton bug vient de ta mauvaise indentation, donc fais comme je t'es dis et ça ira mieux 🙂
Heziras Posté(e) le 1 janvier 2020 Posté(e) le 1 janvier 2020 Salut, Je ne sais pas si ton problème est résolu donc j'ai régler les erreurs de tabulations dans ton code. Si jamais tu as résolus ton problème met ta demande en résolus command /tempmute [<offline player>] [<text>]: permission: Modo permission message: "&cBien essayer mais non !" trigger: if arg 1 is set: if arg 2 is "Spam": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Spam" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 7200 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%arg-1%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "Insultes": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Insultes" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 3600 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "MenaceIG": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4MenaceIG" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 18000 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "MenaceIRL": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4MenaceIRL" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 28800 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%player% &7n'est plus réduit au silence." stop if arg 2 is "IMSG": if {mute.%arg 1%} is not set: broadcast "&8&l[&9&lModération&8&l] &a%arg 1% &6à été mute par &e%player% &6pour &4Insulte en MSG" add "%arg 1%" to {essentialsskript.mutelist::*} set {mute.%arg 1%} to true send "&8&l[&9&lModération&8&l] &7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7a été réduit au silence par %player%." wait 25200 seconds remove "%arg-1%" from {essentialsskript.mutelist::*} set {mute.%arg 1%} to false broadcast "&8&l[&9&lModération&8&l] &6%arg-1% n'est plus mute" stop if {mute.%arg-1%} is true: delete {mute.%arg-1%} send " &8&l[&9&lModération&8&l]&7Tu a été réduit au silence par &6%player%&7." to arg 1 message "&8&l[&9&lModération&8&l] &6%arg-1% &7n'est plus réduit au silence." stop else: message " &8&l[&9&lModération&8&l] &7&lVeuillez indiquer la raison pour sanctionner le joueur !" else: message "&8&l[&9&lModération&8&l] &7&lVeuillez indiquer le nom du joueur !" Voilà bonne journée.
PayeTonPseudo Posté(e) le 3 janvier 2020 Auteur Posté(e) le 3 janvier 2020 Merci infiniment ! ça marche à merveille !
Joriis Posté(e) le 19 janvier 2020 Posté(e) le 19 janvier 2020 Le sujet a été résolu. Il a donc été verrouillé. Cordialement, l'équipe.
Messages recommandés