File: chat_topic

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-- 634 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
SYNTAX: PORK::chat_topic(chat_room, new_topic, account)
	Sets the topic in a chat room.

INPUT PARAMETERS
	chat_room: The name/exchange combination of the chat room in which to set the topic.
	new_topic: The new topic. If this parameter is undefined, the current chat topic will be returned.
	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, when setting a topic. If the new_topic parameter is undefined, the current chat topic is returned.

SEE ALSO
	chat topic