world.ChatPasteEverybody
Pastes the clipboard contents to every connected person
Prototype
long ChatPasteEverybody();
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
Related topic
See also
| Function | Description |
|---|---|
| ChatEverybody | Sends a chat message to every connected chat user |
| ChatGetID | Looks up what chat ID (identifier) corresponds to a particular chat name |
| ChatGroup | Sends a chat message to every connected chat user in the specified group |
| ChatID | Sends a chat message to a particular chat session |
| ChatPasteText | Pastes the clipboard contents to that person |
| ChatPersonal | Sends a chat message to a particular person |
| GetChatList | Gets the list of chat sessions |