If/Else scripting help needed!

Hi! I’m quite new to scripting so was wondering if someone could take a quick peek at my script to make a password go to a wrong and a right frame label. I’ve used the tutorial on here but its coming up with syntax errors, I know its probably something really simple. Any help would be great, Thanks very much : )

My code…

on (release) {
}
If (password == “academy”);
gotoAndPlay(“right”);
} Else {
gotoAndPlay(“wrong”);
End If;
End On;
}