Jump to content
Sign in to follow this  
LordSlippy

Login Functions

Recommended Posts

LordSlippy

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?

Share this post


Link to post
Share on other sites
MHz

Look in the manual for:

Inputbox for your logon.

And perhaps Iniread and Iniwrite for your text file storage.

Share this post


Link to post
Share on other sites
Nova

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 :idiot:

$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 by nova

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×