scoreboard players set .number_max dialog 7



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Well that was easy.","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"No, don`t say that.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Last time it didn`t end well.","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Chill out, I`m gonna be fine, I know what I`m doing.","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"You said the same thing back in Grugdom.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"I wish you could forget stuff like people do.","text_color":"white","duration":30}
execute if score .number dialog matches 7.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"HOLD","bold":false},{"color":"green","text":" JUMP ","bold":true},{"color":"white","text":"to perform a long jump.","bold":false}',"duration":200}


# execute if score .number dialog matches 1.. run tellraw @a [{"bold":false,"color":"white","text":">>>>"},{"bold":true,"clickEvent":{"action":"run_command","value":"/function main:dialog/stop"},"color":"red","text":"DON`T SKIP"},{"bold":false,"color":"white","text":"<<<<"}]