ID:1494700
 
(See the best response by Pirion.)
Code:
mob
verb
NewCharacter(/**/)
if(fexists("SavePlayer/[usr.ckey].sav"))
src<<"Delete your character before making a new one!"
return
winshow(src,"CCreation.input_name","text=-->NAME<--")
winshow(src,"MainWindow.CharacterCreation",1)
winshow(src,"MainWindow.MapChild",0)
winshow(src,"MainWindow.InfoChild",1)
winshow(src,"splash",0)

mob
verb
LoadCharacter(/**/)
if(fexists("players/[src.key].sav"))
var/savefile/F=new("players/[src.key].sav")
Read(F)
src<<"Savefile loaded, welcome back."
winshow(src,"splash",0)
winshow(src,"MainWindow.MapChild",1)
winshow(src,"MainWindow.CharacterCreation",0)
winshow(src,"MainWindow.InfoChild",0)
winshow(src,"MainWindow.ChildStats",1)
else
src<<"You have no savefile"

mob
verb
DeleteCharacter(/**/)
if(fexists("SavePlayer/[usr.ckey].sav"))
var/conf=input("Are you sure you want to delete your savefile?")in list("Yes","No")
if(conf=="Yes")
fdel("SavePlayer/[usr.ckey].sav")
src<<"Savefile deleted sucessfully"
else
src<<"Deleting cancelled."
else
src<<"You dont have a savefile!"


mob/Player
Login(/**/)
winshow(src,"splash",1)
winshow(src,"MainWindow.MapChild",0)
winshow(src,"MainWindow.CharacterCreation",0)
winshow(src,"MainWindow.InfoChild",0)
winshow(src,"MainWindow.ChildStats",0)
winshow(src,"MainWindow",0)


Problem description: This code is for an interface that has buttons(just incase you didn't know) when I click say the new button character creation doesn't start but it just closes the splash screen. If you notice anything else please say

Press F2 to determine if there are any name errors.
Thank you, I did after posting notice some VERY obviously naming mistakes between src/usr and stuff
Best response
I just noticed that your not setting winshow(src,"MainWindow",1), so no error would occur.
Ahhh there thank you kindly, I didn't even think of that.