File: set_away

package info (click to toggle)
pork 0.99.8.1-2
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,692 kB
  • ctags: 4,028
  • sloc: ansic: 34,985; sh: 3,677; perl: 931; makefile: 560
file content (12 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
SYNTAX: PORK::set_away([away_msg], [account])
	Sets a user idle with an away message. If the 'away_msg' parameter is omitted, the user will be set "unaway", if already away. If the 'account' parameter is omitted, the action will apply to the current account.

INPUT PARAMETERS
	away_msg: (Optional) The text of the away message.
	account : (Optional) The account to mark as away.

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

SEE ALSO
	away