ID:263945
 
Code:
mob
create_character
var/mob/character
Login()
var/charactername = input("Hello, Pick a name for your character, something you wish for people to call you in the game.","Character Name?")
switch(input("Pick the class you would like to play as. Note, you cannot change unless you start over.","Class?") in list("Male Warrior","Female Warrior","Male Demon","Female Demon","Male Wizard","Female Wizard","Male Cleric","Female Cleric"))
if("Male Warrior")
alert("A warrior is full of strength and defense but cannot do magic of any sort.")
usr.class="Warrior"
usr.gender="male"
character = new /mob/character/MWarrior()
(other character choices here)
usr.name = charactername
usr.loc = locate(5,5,1)
..()


Problem description: Black screen after character selection.

The part you've omitted is likely causing the problem. Most likely, it has to do with the character variable.
In response to Garthor
Nevermind. I think I fixed it