Um, well I have a HUGE if statement that was working fine before but now it isn't...
Here it is:
REM SCREEN DISPLAY
if lvl = 1
change mouse 0
show mouse
do
cls rgb(150,200,0)
Load bitmap "images/lvl1win.bmp"
text 0,0,"mouse position x:"+str$(mousex())
text 0,10,"mouse position y:"+str$(mousey())
text 0,20,"mouse position z:"+str$(mousez())
` Grab the old mouse cursor
OldMouse=MouCur
` Set the mouse cursor as zero
MouCur=0
rem in main menu button
if mousex() => 13 and mousey() => 412 and mousex() <= 206 and mousey() <= 468 then MouCur=6
rem in quit button
if mousex() => 427 and mousey() => 412 and mousex() <= 621 and mousey() <= 468 then MouCur=7
rem in level 2 button
if mousex() => 166 and mousey() => 255 and mousex() <= 455 and mousey() <= 374 then MouCur=3
` Check if the mouse cursor has changed
if OldMouse<>MouCur
` Change the cursor number
change mouse MouCur
endif
rem if MouCur=7
if MouCur=7 and mouseclick()=1
play sound 10 : wait 1500
cls : end
ENDIF
rem if MouCur=6
if MouCur=6 and mouseclick()=1
wait 150 : gosub BeginSection
ENDIF
rem if MouCur=3
if MouCur=3 and mouseclick()=1
wait 150 : gosub OptionSection
ENDIF
sync
loop
else
cls rgb(255,255,255)
Load bitmap "images/Trophy1.bmp"
play sound 12
ink rgb(0,0,255),rgb(0,0,255)
center text 430,260,"You won the Tournament!"
center text 430,280,"Congradulations!"
center text 550,435,"Cheat Code: 'Air Jorden'"
center text 550,455,"This is only one of many!"
center text 430,300,"YOUR SCORE: "+str$(MyScore)
center text 430,240,"PLAY AGAIN [Y/N]?"
center text 430,320,"Or Press 'm' to go to the main menu."
REM *** END SECTION LOOP
do
if scancode()=0 then exit
loop
do
REM CONTROL INPUT
if Inkey$()="y"
play sound 8
gosub OptionsSection
endif
if Inkey$()="n"
play sound 10 : wait 1500
cls : end
endif
if Inkey$()="m"
play sound 10
gosub BeginSection
ENDIF
REM REFRESH SCREEN
sync
loop
ENDIF
Does anyone see anything wrong with this piece of code? It would keep highlighting this part:
if MouCur=6 and mouseclick()=1
wait 150 : gosub BeginSection
ENDIF
so I changed it to this:
if MouCur=6 and mouseclick()=1 then
wait 150 : gosub BeginSection
then it highlighted this part:
NOTE: This is a rem so how is that even possible?
Thanks for helping

!
Cheers.
God help me, Please.