Return variables (I think?)

Be`ric Gre`
20 Jul 2011, 17:05
For the game that I wish to create, I am aiming for a highly customizable role-playing experience akin to D&D and the like. Thus, the player's input in the game is important. First thing that is troubling me more than anything is I want to ask the player his name: What is your name? And I want to set up a script, I think, that will return whatever he types in and puts it into the Right-side pane (where I set up a bunch of "status variables" for a D&D-like experience). Since this computer program seems to have no differentiation between lower case lettering and upper case lettering, though it may not seem very important, I would like to have the player's name(s) displayed capitalized. I'm kind of nitpicky when it comes to grammar and spelling, especially in a book-like display.

I might have some other questions later on as it seems when I solve one problem, 10 more crop up. :D For right now, I'll do them one at a time, in order of display for the game I am creating. Any help would be very much appreciated. Thank-you. :)

Be`ric Gre`
20 Jul 2011, 18:13
For example, I have a Status Variable called "Character_Name". I set it as a string variable. It's initial value is ---. It's display is: Name: !

Now, I put a script that asks the player "What shall your name be?"

Then, this is where I'm a bit stuck. Under that same script, would I go under "variables" and set a string variable off of the "Character_Name" Status variable? If so, what would I put in the string variable's contents as to convert the response of the player and put it into the display box in the Right Pane?