File: set_away

package info (click to toggle)
pork 0.99.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,396 kB
  • ctags: 3,949
  • sloc: ansic: 34,135; sh: 3,392; perl: 797; makefile: 535
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