跳到主要内容

flush_messages

NAME​

flush_messages - send all pending messages to a user

SYNOPSIS​

void flush_messages();
void 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.