Hi , I just want to know if possible to read the user password in dimensionex and use it in a variable.
I just want to make a system who check if the password is empty to redirect the user to create an account .
cotteux
Yes it is currently possible although I'm planning to protect the passwords in the future.
Just use this script
| CODE |
' Transforms a user name into the userid format ' used by DimensioneX.Player.saveGame Function CookName(aname) aname = Replace(LCase(aname)," ","_") return aname End_Function
Dim nickname = "Cris Lyons" Dim nick = CookName(nickname) Dim pass = getSetting(nick + "_pass","") Print $WORLD,"The password of " + txt + " is " + pass
|
thanks is working great. The new user need to create an account .
Some bug to solve but nothing impossible.