The if command is basicly if you answer the question or type the password right then what ever command was told to do if you got right happens I.E i typed hi (if i type hi then a pop up message says you got it right!) but if i got it wrong and there was no IF NOT then the window would close