mob/Login()
loc = locate(7,7,1)
src << browse(Introduction,"window=Introduction")
mob/proc/create()
var/name=input(src,"What is your name?","Name")as null|text
var/element=input(src,"What is your natural element?","Element")in list("Fire","Aero","Holy","Water","Ice","Dark")
var/alignment=input(src,"What is your presence in this world?","Alignment")in list("Pure Good","Good","Neutral Good","Neutral","Neutral Evil","Evil","Pure Evil")
var/mob/character
var/class
switch(input(src,"What class are you?","Class")in list("Archer","Paladin","Ranger","Wizard"))
if("Ranger")
character= new /mob/ranger()
class = "Ranger"
if("Archer")
character= new /mob/archer()
class = "Archer"
if("Wizard")
character= new /mob/wizard()
class = "Wizard"
if("Paladin")
character= new /mob/paladin()
class = "Paladin"
character.name=name
character.element=element
character.alignment=alignment
character.class=class
character.race=input("What race are you of?","Race")in list("Human","Elf","Dwarf","Halfling")
character.gender=input("What gender are you?","Gender")in list("male","female","neuter")
usr.loc = locate(/turf/start2)
world << "
<B><FONT COLOR=red><SMALL>Server: <FONT COLOR=white>[src] the [character.element] [character.class] has joined [world.name]!<dm>"
src.client.mob = character
del (src)
..()
-----------------------------------------Edited with Lummox JR's suggestions.
-----------------------------------------
Check Hero Quest out and see for yourself what is wrong. I think that'll be a lot better than me further explaining/repeating the problem. Like i said though, I think the login is repeated.
Test it out, search: Author: Zlegend2
Replace usr with src, and in all the input() and alert() calls, put in src before all the other arguments like this: input(src,...).
Lummox JR