world.ChatDisconnectAll
Disconnects all current chat calls
Prototype
long ChatDisconnectAll();
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
See also
| Function | Description |
|---|---|
| ChatAcceptCalls | Accepts incoming chat calls |
| ChatCall | Calls a chat server (makes an outgoing call) using the MudMaster chat protocol |
| ChatDisconnect | Disconnects a current chat call |
| ChatStopAcceptingCalls | Stops this world from accepting chat calls |
| GetChatList | Gets the list of chat sessions |