File: chat_send

package info (click to toggle)
pork 0.99.8.1-2.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,936 kB
  • sloc: ansic: 35,011; sh: 3,379; perl: 931; makefile: 549
file content (13 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
SYNTAX: PORK::chat_send(chat_room, msg, [account])
	Sends a message to a chat room.

INPUT PARAMETERS
	chat_room: The name/exchange combination of the chat room to which to send the message.
	message  : The message to send.
	account  : (Optional) The account on whose behalf the action will be performed. If this parameter is omitted, the account active in the current window will be assumed.

RETURN VALUE
	Returns 0 on success, -1 on failure.

SEE ALSO
	chat send