PHP Code:
if (_x < eval("/:x") + 40 && eval("/:x") - 40 _x && eval("/:crash") == 0)
{
    if (eval(
"/:jump") > && mode 0)
    {
        /:
bonus 5;
    }
    else if (
mode 2)
    {
        
tellTarget("/lives")
        {
            /:
lives = eval("/lives") + 1;
            
prevFrame ();
            
tellTarget("")
            {
                
tellTarget("/sound")
                {
                    
gotoAndStop("bonus");
                    
tellTarget("")
                    {
                        
tellTarget("/" add hazard add "a")
                        {
                            
gotoAndStop(1);
                            
tellTarget("")
                            {
                                
gotoAndStop(1);
                            }
                        }
                    }
                }
                else
                {
                    /:
crash 1;
                    
setProperty("/crash"_xgetProperty("/player"_x));
                    
setProperty("/crash"_xgetProperty("/player"_x));
                    
setProperty("/crash"_rotationgetProperty("/player"_rotation));
                    
tellTarget("/crash")
                    {
                        
gotoAndPlay(2)
                        
tellTarget("")
                        {
                            
tellTarget("/player/character")
                            {
                                
gotoAndStop(3);
                                
tellTarget("")
                                {
                                    
tellTarget("/lives")
                                    {
                                        /:
lives = eval("/lives") - 1;
                                        
nextFrame();
                                        
tellTarget("")
                                        {
                                            /:
jump 0;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

I used the above coding for a game that I'm currently making, but I get an ActionScript error saying that the else statement does not have a matching IF statement.. What do I do now?

Please help!