Is this right action code

Hi not sure if this is right. get loads of errors please help thanks

action = “send”;
loadVariablesNum (mailform, 0, “POST”);
gotoAndPlay (“wait”);
//if it was successfule gotoAndPlay (“confirmed”)
//}else{ gotoAndPLay try again …
if(success){
//

}
stop ();

search the forums…

idiot