scoreboard players set d_open b 0

# execute if score plan_7 b matches 0 run function app/7/app_ng
execute if score plan_7 b matches 1 run function app/7/app_clear

execute if score plan_7 b matches 1 run scoreboard players set plan_7 b 2
