I want to make the routine function work in order. It's currently time, but I wish I could change the order of the items. And depending on whether it actually works, I want to decide whether the next action will be executed after the actual action is executed. For example, if you say music playback on YouTube music, if the data is not connected, the music playback cannot be performed. In this case, I don't want to just play it and move on to the next routine after waiting for it to play!