mob
proc
new_char()
src.choose_name()
src.loggedIn=1
// below is demo stuff
switch(input("Please select your gender") in list ("Male","Female"))
if("Male")
switch(input("Please select a race") in list ("Human","Drugan","Birdon","Moanky"))
if("Human")
switch(input("Please select skin a tone") in list ("White","Tan","Black"))
if("White")
//Generate player and place them in the world.
//Add hair later.
select_class
switch(input("Great now that we know what you look like, please select a class. You can't change this later so choose wisely.") in list ("Mage","Rogue","Soldier","Warrior"))
if("Mage")
switch(input("You can't change this later. Are you sure you want the Mage?") in list ("Yes","No"))
if("No")
return select_class
Problem description:
So what i am trying to do is make it so when a player selects their class they get a warning, "You can't change this later. Are you sure about this?" and then they can say yes or no. When they say no i want them to return to te class
A more sufficient way is to separate it: