ID:149756
 
I used F1 and found a thing telling you how to make characters. but it gives me an Error:Expected Expression.
Can Someone help?

Heres the code:

mob/verb/create_character()
usr.name = input("Choose a name for you character.")
"Your Name"
usr.name)

If anyone can solve my problem please do.

Or give me another code for character creation.

Pizzaro wrote:
I used F1 and found a thing telling you how to make characters. but it gives me an Error:Expected Expression.
Can Someone help?

Heres the code:

mob/verb/create_character()
usr.name = input("Choose a name for you character.")
"Your Name"
usr.name)

If anyone can solve my problem please do.

Or give me another code for character creation.

Try this:
mob/verb/Create_Character()
usr.name = input("Choose a name for your character.")as text

See if that works.

-Non-PC
In response to Non-PC
Non-PC wrote:
mob/verb/Create_Character()
usr.name = ("Choose a name for your character.")as text
usr.name = n

That won't work, because you're reassigning to usr.name after you assign to it a first time, and n isn't a valid var unless it's declared somewhere.

Lummox JR
In response to Lummox JR
Yeah,i just changed it.