mob
proc
Start()
var/mob/mobcreation
var/newname = input("Pick Character Name","Name",src.key)
if(lentext(newname) > 20)
src << "Your name can not exceed 20 characters."
Start()
if(isnull(newname) | newname == "" | !newname)
src << "Your name may not be of null."
Start()
if(Check_For_Tags(newname,HTML_TAGS) == TRUE)
src << "Your name may not have tags of html in them."
Start()
else
newname = html_encode(newname)
usr.loc = locate(120,112,8)
start
switch(input("Pick your character","Play As") in list ("Saiyan"))
if("Saiyan")
switch(input("What saiyan would you like to be?")in list("Goku","Vegeta","Nevermind"))
if("Goku")
mobcreation = new/mob/characters/Goku()
mobcreation.race = "Goku"
world << "[usr] is now Goku"
mobcreation.loc = locate(40,227,10)
mobcreation.name = newname
src.client.mob = mobcreation
if("Vegeta")
mobcreation = new/mob/characters/Vegeta()
mobcreation.race = "Vegeta"
world << "[usr] is now Vegeta"
mobcreation.loc = locate(40,227,10)
mobcreation.name = newname
src.client.mob = mobcreation
if("Nevermind")
goto start
Problem description
When i code this its showing error with the reason undefined proc. I would appreciate the help.
turf
New_Char
Click()
Start()
..()