world.ChatPasteEverybody

MUSHclient script function (Method) — introduced in version 3.37

Pastes the clipboard contents to every connected person

Prototype

long ChatPasteEverybody();

Data type meanings

Description

This pastes the clipboard contents to everybody (who you are not ignoring).

The clipboard must contain text - if it does the entire contents will be pasted to that everybody (as an "everybody" chat message, so it will work with other clients), and echoed on your output window as well.

You could use that to exchange aliases, triggers, messages from the screen, and so on.

VBscript example

ChatPasteEverybody

Jscript example

ChatPasteEverybody ();

PerlScript example

ChatPasteEverybody ();

Python example

world.ChatPasteEverybody

Lua example

ChatPasteEverybody ()

Return value

eNoChatConnections: No chat connetions found
eClipboardEmpty: No text on the clipboard
eOK: Sent OK

Return code meanings

Related topic

Chat system

See also

FunctionDescription
ChatEverybodySends a chat message to every connected chat user
ChatGetIDLooks up what chat ID (identifier) corresponds to a particular chat name
ChatGroupSends a chat message to every connected chat user in the specified group
ChatIDSends a chat message to a particular chat session
ChatPasteTextPastes the clipboard contents to that person
ChatPersonalSends a chat message to a particular person
GetChatListGets the list of chat sessions