Hello. i created one skript but i cant check if %entity uuid of victim% is in yml list.
Without errors. only i cant check
so my problem is here:
And sorry for my bad english.
code_language.skript:
on load:
if file "plugins/Skript/MoboveSpawner.yml" doesn't exists:
create file "plugins/Skript/MoboveSpawner.yml"
add "Vytvoreno" to yml list "Mobove" of file "plugins/Skript/MoboveSpawner.yml"
on spawn:
if "%spawn reason%" is "SPAWNER":
add "%entity uuid of entity%" to yml list "Mobove" of file "plugins/Skript/MoboveSpawner.yml"
on death:
victim is not player
if yml list "Mobove" from file "plugins/Skript/MoboveSpawner.yml" contains "%entity uuid of victim%":
remove "%entity uuid of victim%" from yml list "Mobove" of file "plugins/Skript/MoboveSpawner.yml"
on unload:
delete file "plugins/Skript/MoboveSpawner.yml"
so my problem is here:
code_language.skript:
if yml list "Mobove" from file "plugins/Skript/MoboveSpawner.yml" contains "%entity uuid of victim%":
And sorry for my bad english.