It's mostly for debugging. "play_dialog" will play the command with the given internal name. You need to know that internal name for it to work, and it also won't play dialogues (except the CG ones) that have already been played. Sometimes it will also just crash the game. Best to leave it alone.