ID:165443
 
I've tried multiple things, but I can't figure out how to create a login and save system that allows users, upon their first login, to input a name and choose from multiple icons. Can anyone give me a hand with this?
Have you read the DM Guide?

http://www.byond.com/docs/guide/

If you have have you read the DM Reference?

http://www.byond.com/docs/ref/


If you've done this i seriously think you should read them both agian what your asking for is simple search for some tutorials if you really want to know how.
In response to A.T.H.K
Well, I looked through the tutorial, but it didn't make much sense to me, and the different codes they listed didn't seem to work very well together... And I still can't get it to ask for name, gender, or species...
Arnen wrote:
I've tried multiple things, but I can't figure out how to create a login and save system that allows users, upon their first login, to input a name and choose from multiple icons. Can anyone give me a hand with this?



Deadron Characterhandling.
In response to Animay3
src.name = input("What is your name") as text
In response to A.T.H.K
That's helpful, but how do I get it to select from a list for different icons?
In response to Arnen
mob
Logn()
var character = input("Choose your icon") in list("1","2","Ghost Anime","quit")
switch(character)
if("quit")del(src) //Removes the player from the game
if("1)
src.icon = '1.dmi' //icon file
if("2")
src.icon = "2.dmi" //icon file
if("3")
src.icon == '3.dmi' //icon file


Do NOT copy and paste this snippet is really basic but you must learn from it and fix it i left out some things on purpose and also made some common mistakes.
In response to A.T.H.K
Thanks, I think I have it figured out now. ^^