Inform 6: Having the player select their name

Ah, jeez. I have literally no idea how to go about this. Essentially, I want it to be kind of like Seastalker, where the parser straight-up asks you your name at the beginning, and then reprints the string at appropriate points in the game…but I’m at a loss as to how to do so. Can someone at least point me in the right direction?

Hmm, I’m still green in writing IF (no games published yet), but I think this should work:

! Doubt a name would be longer than 32 characters, unless last name is included
Global name->35;
[ Initialise;
read name 0;
];

The information on global variables starts on pg 39 of the Designer’s Manual, the read command is on pg 44. Read requires a byte array though, so you might also consider using istring.h and strcat() to concat the string into one easy to use word (instead of an array).