tellraw @s ["",{"text":"Are you sure you want to go\ninto gamemode creative mode? ","color":"#ffcc64"},{"text":"[Yes]",click_event:{action:'run_command',command:"/trigger gamemode_creative"},"color":"green"}]

gamemode adventure