world.ChatDisconnectAll

MUSHclient script function (Method) — introduced in version 3.37

Disconnects all current chat calls

Prototype

long ChatDisconnectAll();

Data type meanings

Description

Disconnects all existing chat calls.

If any file transfers are in progress they wil be aborted.

The plugin callback routine "OnPluginChatUserDisconnect" will be called for each user.

If you want to know which calls are currently connected, use GetChatList.

VBscript example

ChatDisconnectAll

Jscript example

ChatDisconnectAll ();

PerlScript example

ChatDisconnectAll ();

Python example

world.ChatDisconnectAll

Lua example

ChatDisconnectAll ()

Return value

A count of the number of calls disconnected.

Related topic

Chat system

See also

FunctionDescription
ChatAcceptCallsAccepts incoming chat calls
ChatCallCalls a chat server (makes an outgoing call) using the MudMaster chat protocol
ChatDisconnectDisconnects a current chat call
ChatStopAcceptingCallsStops this world from accepting chat calls
GetChatListGets the list of chat sessions