je ne sais pas comment faire. vous pouvez me corriger ?
command /invite <player=offline>:
skript complet :
command /invite <player>:
trigger:
if arg 1 is not set:
send "&4&lERREUR &7>>> &6faites /invite <pseudo> de l'ami que vous voulez inviter !"
if arg 1 is set:
if {invite.joueur} is true:
send "&4&lERREUR &7>>> &4Vous avez déjà invité une personne !"
if {invite.joueur} is false:
send "&6Vous avez invité &2%arg-1% pour la bêta de notre serveur!"
wait 3 second
execute console command "/whitelist add %arg-1%"
set {invite.joueur} to true
wait 2 second
execute console command "/whitelist reload"
wait 2 second
send "&7%arg-1% &3a bien était ajouté à la whitelist, si il y a un problème faites la commande /bug !"