LordSlippy Posted December 8, 2004 Posted December 8, 2004 I would like to create a sort of login menu. Asks you for username, then password, and saves those into a text file for later reading. I'm sure there is a way to do this, I just havn't found it yet, any help?
MHz Posted December 8, 2004 Posted December 8, 2004 Look in the manual for: Inputbox for your logon. And perhaps Iniread and Iniwrite for your text file storage.
Nova Posted December 8, 2004 Posted December 8, 2004 (edited) Something simple to get you started ! You can also do this using the GUI functions, search the forum a good few ppl helped me on a simular topic a month or so ago ! Using the GUI method you could have multiple input boxes set into 1 gui so you could have a username and password combo ! Plz try learn from this code, dont just copy and past it Enjoy $undo = 0 $correct = ("drinkduff") Do $passwd = InputBox("Nova Control", "Enter your password.", "", "*", "", "", "-1", "-1", 30) If $passwd = $Correct Then MsgBox(4096, "Password Chk", "Bingo", 5) Exit 0 Else MsgBox(48, "Password Chk", "Er wrong", 5) EndIf Until $undo = 1 Edited December 8, 2004 by nova
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now