Newbie question about conditionals

I know this is basic, but I need to know what code I woud use for this conditional. the part in quotes is the syntax I need.

if (“movie_mc is on frame 20”)
gotoAndPlay(30);

thanks guys

if (movie_mc.currentFrame == 20) gotoAndPlay(30);

U rock, Juggler! got it working. Thanks so much.