Re: Getting input from the player

From: Daniel Koepke (dkoepke@california.com)
Date: 02/02/97


On Sun, 2 Feb 1997, Eric Medlock wrote:

> 	I'm trying to implement a prompt on my mud that will ask the user
> 'Are you sure(y/n)?' when they try to quit.... I cannot figure out how to
> get there answer... I realize this is probably a simple thing to do but I
> just couldn't figure out how to get straight input from the mud... any
> suggestions/help is much appreciated....

You need to create a CON state for it.  Say, CON_CONF_QUIT.  Display
it and set their state to CON_CONF_QUIT, which accepts their input in
nanny().


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST