Salut, le "contains" est très bugué sur skript. Personnellement j'utilise cette méthode qui marche pour moi. Et je répond aussi à ta question pour supprimer un bloc de ta blacklist
command /blacklist [<text>]:
trigger:
if arg 1 is "add":
set {_check::*} to groups 1 of "%{blacklist::*}%" matched to "(\b(%event-block%)\b)"
if {_check::*} is not set:
add player's tool to {blacklist::*}
send "&aLe block &c%player's tool% &aa été ajouté avec succès"
else:
send "&c%player's tool% &aest déjà dans la blacklist"
if arg 1 is "delete" or "del":
set {_check::*} to groups 1 of "%{blacklist::*}%" matched to "(\b(%event-block%)\b)"
if {_check::*} is set:
remove player's tool to {blacklist::*}
send "&aLe block &c%player's tool% &aa été supprimé avec succès"
else:
send "&c%player's tool% &an'est pas dans la blacklist"
on place:
set {_check::*} to groups 1 of "%{blacklist::*}%" matched to "(\b(%event-block%)\b)"
if {_check::*} is set:
cancel event
send "&cErreur >> Ce block est blacklist" to player