execute if entity @s[tag=battle_axe] run function items_py:mshop/buy/weapon/all/battle_axe
execute if entity @s[tag=iron_spear] run function items_py:mshop/buy/weapon/all/iron_spear
execute if entity @s[tag=berserker_sword] run function items_py:mshop/buy/weapon/all/berserker_sword
tag @s remove c