scoreboard players set @a b 0

scoreboard players set talk b 2
execute if score app_2 b matches 3 run scoreboard players set talk b 3
execute if score app_now b matches 7 run scoreboard players set talk b 9
scoreboard players operation @a b = talk b

dialogue open @e[tag=panel_2] @a[r=3,scores={b=2}] panel_2_02
dialogue open @e[tag=panel_2] @a[r=3,scores={b=9}] panel_2_03
dialogue open @e[tag=panel_2] @a[r=3,scores={b=3}] panel_2_04

scoreboard players set @a b 0
