It worked for me too. That line shouldn't effect the previous lines. You can use the INPUT command to print text also so there's no need to have it PRINT then get INPUT when one command can do both... all you do is use a semicolon after the last " mark to tell Darkbasic which variable you want.
When you get input it's best to change it's case so it's easier for you to detect the right password. If the case isn't changed and somebody typed in "ENTER" or "Enter" or "enTer" it wouldn't register as being the right password because your specifically looking for "enter" in lower case. To change a strings case to lower you use LOWER$(). If you want it higher case use UPPER$().
I got rid of your GOTO since if they don't get the password right you don't want them using your program anyway. If it doesn't see the right password it ENDs... no need for GOTO.
input "Please put in your name: ";name$
input name$+", can you please put in the password: ";password$
` Change password$ to lower case letters
password$=lower$(password$)
` Check if it's not the right password
if password$ <> "enter"
print "Wrong password!"
wait key
` Stop the program
end
endif
print "Thank you"
wait key
cls rgb(90, 40, 50)
Print "Welcome to the world of blackness!"
wait key
You should also check out TDKs tutorials for beginners:
http://forum.thegamecreators.com/?m=forum_view&t=99497&b=10