(See the best response by Lugia319.)
Problem description:I want to know if this can be done, when the game is opened a window will automatically pop up for creating character. Can some one help?

Best response
You can check if a savefile exists upon login. If it does, load it. If it doesn't, you can use winshow() to make a window pop up.