ID:145946
 
Code:
mob/verb/create_character()
usr.name = input("Choose a name for your character.",
"Your Name", usr.name)

usr.character = input("Select a type of character.",
"Your Type", usr.character) in list("Pokemon","Trainer","Back")


Problem description:
I got an error that looks just like this:

loading Pokemon Pro.dme
login.dm:5: Inconsistent indentation.

Pokemon Pro.dmb - 13 errors, 0 warnings (double-click on an error to jump to it)

what do I do?


You made that as a verb?
That's just wrong... You need to make it into the Login proc
Anyways...
I'll fix the coding for you, and i do think its a good idea to use this in the Login() proc, unless you are using it in another way.
mob
verb
create_character()
usr.name = input("Choose a name for your character.","Your Name", usr.name)as text
usr.character = input("Select a type of character.","Your Type", usr.character) in list("Pokemon","Trainer","Back")
In response to Y2kEric
oookkk
notes:
TAB> = tab
world
TAB> mob = /mob/create/ // set the mob to create


mob/create // mob , create
TAB> Login() // heavenly music plays
TAB> >TAB> var/mob/pc/newmob // make the new mob
TAB> >TAB> var/t = input(src,"What will your name be?)as text
TAB> >TAB> newmob:name = t
TAB> >TAB> newmob:loc = locate(1,1,1)// start area
TAB> >TAB> src.client.mob = newmob // make src newmob
TAB> >TAB> del(src)
mob/pc


there
In response to Rky_nick
Please use
tags.
You're also abusing colon.