scoreboard players set .number_max dialog 5



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"So, how was it?","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Talked for a bit. Sadly the time there is quite limited.","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Gonna go there again?","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, though, a bit later.","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Okay.","text_color":"white","duration":30}