[CODE] [NEWBIE] Non-instantaneous commands

From: Andrew Ritchie (object@ALPHALINK.COM.AU)
Date: 08/07/98


Hey all,

I am relatively new to Circle, and thus have a few thousand questions
to ask. However, I'll be quick and just ask one. I want some commands
not to happen instantaneously (spelling?), for some reasons.

In short, if someone could give tell me the code to the following, or
point me in the right direction with various functions to use, I'd
very much appreciate it.

Ok, for the sake of everyone I'll just cut down what I want to implement
to a short command.

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'.

I know how to create the actual command, and use the send_to_char function,
it's the part where it waits four seconds that I'm unsure about it. Sorry
about the lame 'Hello World' example. Any help would be apprecaited,

-- Urion.


     +------------------------------------------------------------+
     | 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