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
WAIT_STATE.
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 www.circlemud.org I believe.
##### DreamScapes MUD (playtest) #####
Endure no Imitations for They Will Surely Become Your Nightmares
telnet://dreamscapes.ml.org:4000
http://homepages.webleicester.co.uk/hub/ds/main.html
> 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: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST