I am going to describe to you a process that, while fundamentally the same as the one mentioned in the article, only uses one page to set the name.
This process requires:
- Advanced Scripting to be activated in Story Settings
- The digit variables described in the article
- A variable to represent the number of letters that has already been set (DIGITSET)
After you do that, go to the page on which you will allow the player to set their name and create 27 variables. Name the first twenty six after their corresponding letter in the alphabet (link 1 would be 'A', link 2 would be 'B', etc.). The last will be a link to another page.
Go to each of the letter links and click on the stop sign to set a restriction. The links should only appear if DIGITSET is less than the number of digit variables you have. So, if you have 8 digit variables, you would set each of the letter links to appear only if DIGITSET is less than 8.
Set a restriction on the last link so that it may only be used if DIGITSET is greater than 0.
Go to the script of each letter link and input:
IF %DIGITSET = 0 THEN %DIGIT1 := (number corresponding to letter)
IF %DIGITSET = 1 THEN %DIGIT2 := (number corresponding to letter)
IF %DIGITSET = 2 THEN %DIGIT3 := (number corresponding to letter)
IF %DIGITSET = 3 THEN %DIGIT4 := (number corresponding to letter)
IF %DIGITSET = 4 THEN %DIGIT5 := (number corresponding to letter)
IF %DIGITSET = 5 THEN %DIGIT6 := (number corresponding to letter)
IF %DIGITSET = 6 THEN %DIGIT7 := (number corresponding to letter)
IF %DIGITSET = 7 THEN %DIGIT8 := (number corresponding to letter)
%DIGITSET := %DIGITSET + 1
Replace the stuff in parantheses with the number corresponding to the letter the link is supposed to be setting (1 for 'A', 2 for 'B', etc.)If you have more than 8 digit variables, you will of course have to adjust the above script.
I believe the on-page script found in the article will still work for this system, assuming you only have eight digit variables. If you have more, you will of course have to adjust it.
On the actual page where the player will set the name, place the on-page script at the end. That way, the player can see what their name looks like at any point during the name setting process.