ID:139069
 
Code:
mob// a player, npc, object etc...
Login()
src.loc=locate(84,9,1) //locate the player at your main title screen
winset(src,"MainWindow.MainMap","icon-size=32") //sets up the icon size
winset(src,"MainWindow","Size=800x600;is-maximized=true;pos=0,0") //sets up the interface window
switch(input("","Game Options")in list("New Game","Load"))
if("New Game")
name = input("Please enter your name:", "Your name") as text
switch(input("Please Select Your Gender:","Gender?") in list("Male","Female"))
if("Male")
icon='test base.dmi'
if("Female")
icon='test base.dmi'
switch(input("Please Select Your Race:","Race?") in list("Ninja","Human"))
if("Ninja")
naruto=1
if("Human")
bleach=1
world << "[name] has appeared in the world for their first time!"
src.loc=locate(10,9,2)


when i run the game im at a black screen help please also some guy is on the forum with the same key name as me -_-

I would assume there isn't anything at the location you are sending the player to. Does the rest of the code work?
Check if your skin file actually has a "MainWindow" with a "MainMap", because this is clearly not your own code.