flush_messages |
Discworld player help |
flush_messages |
Name
flush_messages() - send all pending messages to a user
Synopsis
int flush_messages( void );
int flush_messages( object user );
Description
Normally, messages are queued, then sent all at once to minimize the number of packets required. This efun forces all pending messages to be written immediately. If no `user' is specified, messages for ALL users are flushed.