Por ahora, esta lección está en inglés.
Scripts that make decisions
Your first script ran the same lines every time. Real scripts look around first: does the file exist, did the command succeed, which games are on the list? With if, for and functions, a script can decide and repeat.