execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=1,limit=1] run tag @s[tag=untaged] add 1
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=1,limit=1] run tag @s[tag=untaged] remove untaged
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=2,limit=1] run tag @s[tag=untaged] add 2
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=2,limit=1] run tag @s[tag=untaged] remove untaged
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=3,limit=1] run tag @s[tag=untaged] add 3
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=3,limit=1] run tag @s[tag=untaged] remove untaged
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=4,limit=1] run tag @s[tag=untaged] add 4
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=4,limit=1] run tag @s[tag=untaged] remove untaged
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=5,limit=1] run tag @s[tag=untaged] add 5
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=5,limit=1] run tag @s[tag=untaged] remove untaged
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=6,limit=1] run tag @s[tag=untaged] add 6
execute unless entity @e[type=#as,tag=dagger,tag=ch1_olinked,tag=6,limit=1] run tag @s[tag=untaged] remove untaged

function olink:ch1/join_link
tag @s remove init
