ID:149561
 
Ok, I have a few questions.

First off, I'm having trouble with my login. I have this for my login:

mob
Login()
if(usr.saved<1)
usr.Name=usr
switch(input("What race would you like to be?")in list("Human","Elf","Arlian","Troll","Dwarf","Halfling"))
if("Human")
usr.Race="Human"
Strength=12
Dexterity=11
Wisdom=11
Constitution=11
if("Elf")
usr.Race="Elf"
Strength=10
Dexterity=12
Wisdom=14
Constitution=10
if("Arlian")
usr.Race="Arlian"
Strength=11
Dexterity=12
Wisdom=11
Constitution=10
if("Troll")
usr.Race="Troll"
Strength=15
Dexterity=10
Wisdom=6
Constitution=15
if("Dwarf")
usr.Race="Dwarf"
Strength=14
Dexterity=10
Wisdom=10
Constitution=13
if("Halfling")
usr.Race="Halfling"
Strength=10
Dexterity=14
Wisdom=12
Constitution=9
usr << "Great, [usr] is now a [Race]! Many good fortunes to him."
view() << "[usr] is given live and is now /a [Race]."
usr.saved=1
TNL=usr.ExpR-Exp

And I also have this in there:

#include

The only problem is, it directly asks what race you wish to be when you first login, and I want it to ask create character, delete character, etc.


***********************
Second, I'm trying to have items that will act like keys. I saw a post a while ago on keys, but I want to do this for a text game. Could someone help me in doing so?


***********************
Last of all, I'm trying to make it so when you enter a room it gives you a description, but I want it to also tell you who is in the room, but only the room, not the world. I have this for when you enter:

area/room
Entered(atom/movable/A)
if(ismob(A))
A << {"

Room Name
Room Description.
Exits."}
return ..()

Could someone help me on how to go about doing so? Thanks in advance to anyone that can help.</1>
Well,your Login code is missing ..().So the code should be:

mob
Login()
..()
if(usr.saved<1)
usr.Name=usr
switch(input("What race would you like to be?")in list("Human","Elf","Arlian","Troll","Dwarf","Halfling"))
if("Human")
usr.Race="Human"
Strength=12
Dexterity=11
Wisdom=11
Constitution=11
if("Elf")
usr.Race="Elf"
Strength=10
Dexterity=12
Wisdom=14
Constitution=10
if("Arlian")
usr.Race="Arlian"
Strength=11
Dexterity=12
Wisdom=11
Constitution=10
if("Troll")
usr.Race="Troll"
Strength=15
Dexterity=10
Wisdom=6
Constitution=15
if("Dwarf")
usr.Race="Dwarf"
Strength=14
Dexterity=10
Wisdom=10
Constitution=13
if("Halfling")
usr.Race="Halfling"
Strength=10
Dexterity=14
Wisdom=12
Constitution=9
usr << "Great, [usr] is now a [Race]! Many good fortunes to him."
view() << "[usr] is given live and is now /a [Race]."
usr.saved=1
TNL=usr.ExpR-Exp


~~~~~~SSJ4_Gohan_Majin


In response to SSJ4_Gohan_Majin
Also, everywhere you see <font color = yellow>usr.</font> delete it. Where you see <font color = yellow>[usr]</font>, replace it with <font color = yellow>[src]</font>.
In response to SSJ4_Gohan_Majin
I added that, and it still directly asks me what race I want to choose.