scoreboard players set .number_max dialog 2


execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Azaroth","name_color":"red","text":"I will.. return..","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Better not.","text_color":"white","duration":30}
