Re: [CODE] [NEWBIE] Non-instantaneous commands

From: Andy Hubbard (hub@LEICESTER.AC.UK)
Date: 08/07/98

WAIT_STATE will not work for this sort of thing, input to the character
still occurs, they just won't be able to do anything for the duration of the
 What you need to do is implement an event system, I recommend dg_events.
Then write a delayed_sendtochar() event.
 dg_events is on the ftp site at I believe.

           #####  DreamScapes MUD  (playtest)  #####
Endure no Imitations for They Will Surely Become Your Nightmares

> try wait_state
> >
> > Basically, I want to make a command called 'hello', so when you type
> > it, it uses 'send_to_char("Hello", ch);', and then two seconds later
> > it does the same thing as above but the word is 'World' instead of
> > 'Hello'.
> >

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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