This mod no longer works, and will crash the game, even with this correction it will still not work and makes a trouble on main page, if you choose to ignore it will jump into starting a new game, which will then work as usual, but anytime going back to the main page will still be faulty.
We are now at v 24.9.1To be clear this is the correct code:
Notice the spaces instead of tabs and the $ signCode:$ heroname = Anonymous50000_var.gallery_anonymous50000_chars["hero"]["first.name"] $ hero.initialize(heroname, Anonymous50000_var.gallery_anonymous50000_chars["hero"]["last.name"], str(500), str(1), str(1), str(1999), True)
Here the fixed script, works for me for v23.12.0