scoreboard players set .number_max dialog 3



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Where`s my Stroke Glove?","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Press","bold":false},{"color":"green","text":" 8 ","bold":true},{"color":"white","text":"to get your ","bold":false},{"color":"gold","text":"Stroke Glove ","bold":false},{"color":"white","text":"out.","bold":false}',"duration":50}
execute if score .number dialog matches 3.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Press","bold":false},{"color":"green","text":" LEFT CLICK ","bold":true},{"color":"white","text":"while holding ","bold":false},{"color":"gold","text":"Stroke Glove ","bold":false},{"color":"white","text":"to pick the item up.","bold":false}',"duration":200}
# execute if score .number dialog matches 4.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Press","bold":false},{"color":"red","text":" RIGHT CLICK ","bold":true},{"color":"white","text":"while holding ","bold":false},{"color":"gold","text":"Stroke Glove ","bold":false},{"color":"white","text":"will reroll the item ONCE.","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":"SKIP"},{"bold":false,"color":"white","text":"<<<<"}]

# 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":"<<<<"}]