I would like to have players enter a string a line at the time.
I thought I could use gets but it seems that the way send_to_char works, it
just blasts throu, w/o waiting for the player to input the string.
Right now the section of code looks like:
send_to_char("please register...blah blah\r\n",ch);
send_to_char("1. ",ch);
gets(ch->player.regis1);
send_to_char("2. ",ch);
gets(ch->player.regis2);
send_to_char("Thanks.\r\n",ch);
This ends up coming out:
please register...blah blah
1. 2. Thanks
Is there anyway to wait untill the person inputs the line to print
the next line, etc?
Many thanks in advance,
- Sean
This archive was generated by hypermail 2b30 : 12/07/00 PST