Err, what I posted was a QBASIC program to do what I thought you asked for. It won't work with RPG Maker, but you can copy/paste it into QBASIC if you have it.
I'll ask more clearly this time:
Is my theory on what you wanted correct? (i.e. something where you input a name, gender, etc. and have a story/list built around that)