I have a issue trying to remove a player from a variable list named {Chest.Cap::*}
its supose to get removed in a "on damage" event:
I already read everything in the docs and this should work..
I already put some "send" effects between conditions and effect to check if the conditions works, and the condition at line 16 dont works. Any idea what is happening.
The skript loads without errors, any issue.
Thanks for reading
*edit: Fixed bad written code*
its supose to get removed in a "on damage" event:
I already read everything in the docs and this should work..
code_language.skript:
add nick name of player to {Chest.Cap::*}
broadcast "{@BroadcastCapturando}"
loop {@TiempoDeCap} times:
delete {_anvil}
if {Chest.Cap::*} does not contain nick name of player:
set {_loss} to true
exit loop
loop blocks in radius 5 around the player:
if loop-block is anvil:
set {_anvil} to true
if {_anvil} is not set:
set {_loss} to true
exit loop
on damage:
if {ChestConquer.Game} is true:
if {Chest.Cap::*} contains nick name of victim:
remove nick name of victim from {Chest.Cap::*}
I already put some "send" effects between conditions and effect to check if the conditions works, and the condition at line 16 dont works. Any idea what is happening.
The skript loads without errors, any issue.
Thanks for reading
*edit: Fixed bad written code*
Last edited: