Errors in action script "if" function-help

I copied action script from a password .fla script in Flash 4. When I post it in Flash 8 there are errors. Here is the script. Hope it is a simple fix. thanks.
on (press) {
if (user add password eq “RonF” add “7782”) {
gotoAndPlay(127);
}
if (user add password eq “BrianB” add “7780”) {
gotoAndPlay(127);
}
if (user add password eq “admin” add “mvp123”) {
gotoAndPlay(127);
}
}
on (release) {
gotoAndPlay(130);
}