call_out

final_realms_fluffos_v1/lib/doc/man/mudos/efuns/calls/call_out · 713 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

call_out - delayed function call in same object

void call_out( function fun, int delay, mixed arg, ... );

Set up a call to 'fun'.  If fun is a string, it is interpreted as the
name of a function in this_object().  The call will take place 'delay'
seconds later, with the arguments 'arg' and following provided.

Note:
Unless THIS_PLAYER_IN_CALL_OUT is defined, you can't rely on
write() or say() in 'fun' since this_player() is set to 0.
Use tell_object() instead.

If THIS_PLAYER_IN_CALL_OUT is defined, this_player() is the same as
it was when the call_out() call was scheduled.

See also:
 remove_call_out,
 call_out_info,
 find_call_out

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571