function olink:ch1/find_linked
# Follow player
tp @s ~ ~ ~ ~16 ~
execute at @e[tag=flying_daggers,tag=ch1_olinked,limit=1] run tp @s ~ ~ ~

# Dagger
execute as @e[type=#as,tag=dagger,tag=ch1_olinked,limit=6] run function items:obj/flying_daggers/dagger/main

# Sound
execute if score @s countdown matches 0 if entity @e[type=#as,tag=dagger,tag=ch1_olinked,limit=1] run playsound entity.player.attack.sweep ambient @a ~ ~ ~ 0.3 0.5
execute if score @s countdown matches 0 run scoreboard players set @s countdown 23