Aller au contenu

Messages recommandés

Posté(e)

J'ai déjà demander ce skript mais la discussion s'est perdu etc donc j'en recréer une car sa m'embête de ne pas avoir se skript

 

bonjours j'ai besoin de vous pour faire un skript de tempban mais ou on peux ban en d (days), w (week), m (month) , h (hours)

 

Genre /tempban Jean 30d Fly j'aimerai que sa se presente comme sa merci beaucoup si vous me faite ce skript :D

Posté(e)

En gros si je dis que la date de ban c'est jusque dans 1 mois, il va falloir pour unban va falloir faire un "every X X" pour vérifier si le temps est dépassé, tu veux que sa soit très précis ou non ?

 

Prend en compte que plus tu sera précis, plus sa causera de laggs (très lèges TKT mais présents quand même)

 

Moi je te conseil une précision de 10 minutes, sa n'ajoute aucuns lagg et le gars n'est pas à + ou - 10 mins de BAN quoi mdr (surtout si tu /temps ban 36 mois xDD)

Posté(e)
En gros si je dis que la date de ban c'est jusque dans 1 mois, il va falloir pour unban va falloir faire un "every X X" pour vérifier si le temps est dépassé, tu veux que sa soit très précis ou non ?

 

Prend en compte que plus tu sera précis, plus sa causera de laggs (très lèges TKT mais présents quand même)

 

Moi je te conseil une précision de 10 minutes, sa n'ajoute aucuns lagg et le gars n'est pas à + ou - 10 mins de BAN quoi mdr (surtout si tu /temps ban 36 mois xDD)

a d'ac ben fais comme si tu le faisait pour toi merci :p fais le 10min

Posté(e)
Ok je vais essayer de te faire sa :)

(Je ne te promet rien ^^)

ok merci :p tient si sa peux t'aider mais n'oublie pas le format stp

 

 

 

command /tempban [<offline player>] [<text>] [<text>]:
   permission: mod.ban
   permission message: &cVous n'avez pas la permission d'utiliser cette commande !
   trigger:
       if arg 1 is set:
           if arg 3 is set:
               if arg 2 is set:
                   if arg 2 contains "m":
                       set {_choix.durer} to arg 2
                       replace all "m" with "" in {_choix.durer}
                       set {_choix.durer} to {_choix.durer} parsed as integer
                       set {_choix.durer} to {_choix.durer} * 30
                       set {tempban.%player%} to "%{_choix.durer}% day|%now%|%arg-3%"
                       kick the player due to "%arg-3%"
                       stop
                   else:
                       send "&7La durée doit etre définis en &cd&7, &cm&7 ou &cy"
               else:
                   send "Précisez un temps de ban !"
           else:
               send "Précisez une raison avant de bannir se joueur !"
       else:
           send "Vous devez précisez un joueur a temporairement bannir !"

on join:
   if {tempban.%player%} is set:
       set {_data::*} to {tempban.%player%} split by "|"
       set {_durer.tempban} to {_data::1} parsed as timespan
       set {_commencement.tempban} to {_data::2} parsed as timespan
       set {_durer.parcourus} to difference between now and {_commencement.tempban}
       if {_durer.parcourus} < {_durer.tempban}:
           send "&7Vous êtes &4BANNIS!!!"
           wait 10 ticks
           kick the player due to "%{_data::3}%"
       if {_durer.parcourus} >= {_durer.tempban}:
           send "&7Débanissement..."
           wait 10 ticks
           delete {tempban.%player%}

on any move:
   if {tempban.%player%} is set:
       cancel event

on place:
   if {tempban.%player%} is set:
       cancel event

on break:
   if {tempban.%player%} is set:
       cancel event

Posté(e)
Ha tu ne veux vraiment que la partie Tempban ?

oui le ban kick j'ai sauf le tempban / tempban-ip et le ban-ip si tu me fais les trois alors la c encore mieux mais deja si tu peux me faire le tempban :p

Posté(e)

Faire avec 30d etc c'est presque impossible... Pourquoi faire un 30d alors que skript a inclu les durées ?? Il y a [<timer span>] bon c'est peut être pas 30d mais faut juste écrire "30 days" c'est exactement pareil voila un tempban avec banip :

 

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {ban1.%arg 1%} is false:
                       if {tempban1.%arg 1%} is false:
                           if arg 2 is not set:
                               send "&c/tempban help"
                           if arg 2 is set:
                               set {tempban1.%arg 1%} to true
                               set {etempban.raison.%arg 1%} to "%arg 2%"
                               set {etempban.joueur.%arg 1%} to "%executor%"
                               set {etempban.date.%arg 1%} to "%now%"
                               set {etempban.temp.%arg 1%} to "%arg 3%"
                               broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                               kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                               wait arg 3
                               set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"
                   if {ban1.%arg 1%} is true:
                       send "&cCe joueur est déjà banni !"

 

command /unban [<offline player>] [<text>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/ban (joueur) (raison) &b-> &3Ban un joueur"
               send "&c• &e/unban (joueur) &b-> &3Unban un joueur"
           if arg 1 is not "help":
               if {ban1.%arg 1%} is false:
                   if {tempban1.%arg 1%} is false:
                       send "&cCe joueur n'est pas banni"
                   if {tempban1.%arg 1%} is true:
                       set {tempban1.%arg 1%} to false
                       broadcast "&6%arg 1% &ca été débanni par %executor%."
               if {ban1.%arg 1%} is true:
                   set {ban1.%arg 1%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."

 

command /banip [<offline player>]  [<text>]:
   permission: mod.ban
   trigger:
       if arg 1 is not set:
           send "Précise un joueur !"
       if arg 1 is set:
           if arg 2 is not set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "&2No Reason"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7No Reason"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7No Reason"
           if arg 2 is set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "%arg 2%"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7%arg 2%"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7%arg 2%"

on join:
   if {banip.%player's ip%} is true:
       set join message to ""
       kick player due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%{ebanip.joueur.%player's ip%}%%nl%&7Pour : &a%{ebanip.raison.%player's ip%}%%nl%&7Date et heure : &b%{ebanip.date.%player's ip%}%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous êtes banni définitivement&8)"

on quit:
   if {banip.%player's ip%} is true:
       set quit message to ""

 

command /unbanip [<offline player>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unbanip help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBanIp &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/banip (joueur) (raison) &b-> &3BanIp un joueur"
               send "&c• &e/unbanip (joueur) &b-> &3UnBanIp un joueur"
           if arg 1 is not "help":
               if {banip.%arg 1's ip%} is true:
                   set {banip.%arg 1's ip%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."
                   wait 4 second
                   broadcast "&6***,**,***,** &ca été débanni par %executor%."              
               if {banip.%arg 1's ip%} is false:
                   send "&cCe joueur n'est pas banni !"

Posté(e)
Faire avec 30d etc c'est presque impossible... Pourquoi faire un 30d alors que skript a inclu les durées ?? Il y a [<timer span>] bon c'est peut être pas 30d mais faut juste écrire "30 days" c'est exactement pareil voila un tempban avec banip :

 

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {ban1.%arg 1%} is false:
                       if {tempban1.%arg 1%} is false:
                           if arg 2 is not set:
                               send "&c/tempban help"
                           if arg 2 is set:
                               set {tempban1.%arg 1%} to true
                               set {etempban.raison.%arg 1%} to "%arg 2%"
                               set {etempban.joueur.%arg 1%} to "%executor%"
                               set {etempban.date.%arg 1%} to "%now%"
                               set {etempban.temp.%arg 1%} to "%arg 3%"
                               broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                               kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                               wait arg 3
                               set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"
                   if {ban1.%arg 1%} is true:
                       send "&cCe joueur est déjà banni !"

 

command /unban [<offline player>] [<text>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/ban (joueur) (raison) &b-> &3Ban un joueur"
               send "&c• &e/unban (joueur) &b-> &3Unban un joueur"
           if arg 1 is not "help":
               if {ban1.%arg 1%} is false:
                   if {tempban1.%arg 1%} is false:
                       send "&cCe joueur n'est pas banni"
                   if {tempban1.%arg 1%} is true:
                       set {tempban1.%arg 1%} to false
                       broadcast "&6%arg 1% &ca été débanni par %executor%."
               if {ban1.%arg 1%} is true:
                   set {ban1.%arg 1%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."

 

command /banip [<offline player>]  [<text>]:
   permission: mod.ban
   trigger:
       if arg 1 is not set:
           send "Précise un joueur !"
       if arg 1 is set:
           if arg 2 is not set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "&2No Reason"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7No Reason"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7No Reason"
           if arg 2 is set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "%arg 2%"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7%arg 2%"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7%arg 2%"

 

command /unbanip [<offline player>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unbanip help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBanIp &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/banip (joueur) (raison) &b-> &3BanIp un joueur"
               send "&c• &e/unbanip (joueur) &b-> &3UnBanIp un joueur"
           if arg 1 is not "help":
               if {banip.%arg 1's ip%} is true:
                   set {banip.%arg 1's ip%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."
                   wait 4 second
                   broadcast "&6***,**,***,** &ca été débanni par %executor%."              
               if {banip.%arg 1's ip%} is false:
                   send "&cCe joueur n'est pas banni !"

Merci Ok je test sa donc c'est

 

/tempban [pseudo] 30 days Fly ?

Posté(e)
Faire avec 30d etc c'est presque impossible... Pourquoi faire un 30d alors que skript a inclu les durées ?? Il y a [<timer span>] bon c'est peut être pas 30d mais faut juste écrire "30 days" c'est exactement pareil voila un tempban avec banip :

 

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {ban1.%arg 1%} is false:
                       if {tempban1.%arg 1%} is false:
                           if arg 2 is not set:
                               send "&c/tempban help"
                           if arg 2 is set:
                               set {tempban1.%arg 1%} to true
                               set {etempban.raison.%arg 1%} to "%arg 2%"
                               set {etempban.joueur.%arg 1%} to "%executor%"
                               set {etempban.date.%arg 1%} to "%now%"
                               set {etempban.temp.%arg 1%} to "%arg 3%"
                               broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                               kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                               wait arg 3
                               set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"
                   if {ban1.%arg 1%} is true:
                       send "&cCe joueur est déjà banni !"

 

command /unban [<offline player>] [<text>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/ban (joueur) (raison) &b-> &3Ban un joueur"
               send "&c• &e/unban (joueur) &b-> &3Unban un joueur"
           if arg 1 is not "help":
               if {ban1.%arg 1%} is false:
                   if {tempban1.%arg 1%} is false:
                       send "&cCe joueur n'est pas banni"
                   if {tempban1.%arg 1%} is true:
                       set {tempban1.%arg 1%} to false
                       broadcast "&6%arg 1% &ca été débanni par %executor%."
               if {ban1.%arg 1%} is true:
                   set {ban1.%arg 1%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."

 

command /banip [<offline player>]  [<text>]:
   permission: mod.ban
   trigger:
       if arg 1 is not set:
           send "Précise un joueur !"
       if arg 1 is set:
           if arg 2 is not set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "&2No Reason"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7No Reason"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7No Reason"
           if arg 2 is set:
               set {banip.%arg 1's ip%} to true
               kick arg 1 due to "&c&lVous êtes banni de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%"
               set {ebanip.raison.%arg 1's ip%} to "%arg 2%"
               set {ebanip.joueur.%arg 1's ip%} to "%executor%"
               set {ebanip.date.%arg 1's ip%} to "%now%"
               broadcast "&6%arg 1% &ca été banni par %executor%. &7%arg 2%"
               wait 4 second
               broadcast "&6***,**,***,** &ca été banni par %executor%. &7%arg 2%"

 

command /unbanip [<offline player>]:
   permission: mod.unban
   trigger:
       if arg 1 is not set:
           send "&c/unbanip help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModBanIp &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/banip (joueur) (raison) &b-> &3BanIp un joueur"
               send "&c• &e/unbanip (joueur) &b-> &3UnBanIp un joueur"
           if arg 1 is not "help":
               if {banip.%arg 1's ip%} is true:
                   set {banip.%arg 1's ip%} to false
                   broadcast "&6%arg 1% &ca été débanni par %executor%."
                   wait 4 second
                   broadcast "&6***,**,***,** &ca été débanni par %executor%."             
               if {banip.%arg 1's ip%} is false:
                   send "&cCe joueur n'est pas banni !"

sa ne marche pas a chaque moi sa me met /tempban help j'ai tester au moin 20 phrase sa ne marche pas :(

peux tu me donner le format de la phrase stp

Posté(e)

le /tempban help ne marche pas ?? bizzar donc la commande c'est /tempban (joueur) (raison) (durée)

 

Si ca t'a affiché "&c/tempban help" c'est que au lieu de faire /tempban (joueur) (raison) (durée) tu as fait /tempban (joueur) (durée) (raison) mais c'est l'inverse :)

Posté(e)
le /tempban help ne marche pas ?? bizzar donc la commande c'est /tempban (joueur) (raison) (durée)

 

Si ca t'a affiché "&c/tempban help" c'est que au lieu de faire /tempban (joueur) (raison) (durée) tu as fait /tempban (joueur) (durée) (raison) mais c'est l'inverse :)

ben quand je fais :

 

/tempban NoGhostJustSkill fly 30 days sa fais rien et quand je fais

/tempban NoGhostJustSkill 30d fly sa me dis /tempban help

 

;(

Posté(e)

J'ai trouvé l'erreur voila le code :

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {tempban1.%arg 1%} is false:
                           if arg 2 is not set:
                               send "&c/tempban help"
                           if arg 2 is set:
                               set {tempban1.%arg 1%} to true
                               set {etempban.raison.%arg 1%} to "%arg 2%"
                               set {etempban.joueur.%arg 1%} to "%executor%"
                               set {etempban.date.%arg 1%} to "%now%"
                               set {etempban.temp.%arg 1%} to "%arg 3%"
                               broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                               kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                               wait arg 3
                               set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"

Posté(e)
J'ai trouvé l'erreur voila le code :

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {tempban1.%arg 1%} is false:
                           if arg 2 is not set:
                               send "&c/tempban help"
                           if arg 2 is set:
                               set {tempban1.%arg 1%} to true
                               set {etempban.raison.%arg 1%} to "%arg 2%"
                               set {etempban.joueur.%arg 1%} to "%executor%"
                               set {etempban.date.%arg 1%} to "%now%"
                               set {etempban.temp.%arg 1%} to "%arg 3%"
                               broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                               kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                               wait arg 3
                               set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"

pareille et 12 erreur

Posté(e)

Alors ca :

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {tempban1.%arg 1%} is false:
                       if arg 2 is not set:
                           send "&c/tempban help"
                       if arg 2 is set:
                           set {tempban1.%arg 1%} to true
                           set {etempban.raison.%arg 1%} to "%arg 2%"
                           set {etempban.joueur.%arg 1%} to "%executor%"
                           set {etempban.date.%arg 1%} to "%now%"
                           set {etempban.temp.%arg 1%} to "%arg 3%"
                           broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                           kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                           wait arg 3
                           set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"

 

EDIT: Si ca recomence, créer une commande ou ca set {tempban1.%arg 1%} to false et tu execute cette commande sur une personne avant de le tempban si vraiment ca marche pas et que ca met rien quand tu execute la commande.

Posté(e)
Alors ca :

command /tempban [<offline player>] [<text>] [<time span>]:
   permission: mod.tempban
   trigger:
       if arg 1 is not set:
           send "&c/tempban help"
       if arg 1 is set:
           if arg 1 is "help":
               send "&b--&e==&a&l[ &4&lModTempBan &a&l]&e==&b-- &cBy kimidu1609"
               send "&c• &e/tempban (joueur) (raison) (durée) &b-> &3TempBan un joueur"
               send "&c• &e/unban (joueur) &b-> &3UnBan un joueur"
           if arg 1 is not "help":
               if arg 3 is not set:
                   send "&c/tempban help"
               if arg 3 is set:
                   if {tempban1.%arg 1%} is false:
                       if arg 2 is not set:
                           send "&c/tempban help"
                       if arg 2 is set:
                           set {tempban1.%arg 1%} to true
                           set {etempban.raison.%arg 1%} to "%arg 2%"
                           set {etempban.joueur.%arg 1%} to "%executor%"
                           set {etempban.date.%arg 1%} to "%now%"
                           set {etempban.temp.%arg 1%} to "%arg 3%"
                           broadcast "&6%arg 1% &ca été banni %arg 3% par %executor%. &7%arg 2%"
                           kick arg 1 due to "&c&lVous êtes banni %arg 3% de ce serveur !%nl%%nl%&7Par : &6%executor%%nl%&7Pour : &a%arg 2%%nl%&7Date et heure : &b%now%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%&8(&7&nVous n'êtes pas banni définitivement&8)"
                           wait arg 3
                           set {tempban1.%arg 1%} to false
                       if {tempban1.%arg 1%} is true:
                           send "&cCe joueur est déjà banni !"

 

EDIT: Si ca recomence, créer une commande ou ca set {tempban1.%arg 1%} to false et tu execute cette commande sur une personne avant de le tempban si vraiment ca marche pas et que ca met rien quand tu execute la commande.

nan ca marche pas mais y a pas d'erreur ajoute mon skype sa sera plus symple

: NoGhostBitch

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