[IMG]http://i53.tinypic.com/ayufq.png[/IMG]
so when the user types in a user name and a password, and then clicks create, it will save the username and password and enable them to use the login button next. Now here is my code
mob/proc
Create(mob.client)
alert("Enter your Username and Password that you want below. You can only do this once, remember it and make sure there is no errors!")
var/P =usr<< winget(src,"Login.Username", "text==true")
var/U =usr<< winget(src,"Login.Password", "text==true")
if(P=="true"||U=="true")
src.UserName = winget(src,"Login.Username", "text==true")
src.Password = winget(src,"Login.Password", "text==true")
var/savefile/F=new("players/[Name],[Password]/.sav")
var/gotit
F["Password"||"Username"]>>gotit
Save(src)
here's the vars
mob/var
Password
UserName
Name
lastx
lasty
lastz
NoMatch