File: set_idle

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-- 363 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
SYNTAX: PORK::set_idle(seconds, [account])
	Sets the idle time for the specified account. If no account is specified, the idle time is set for the current account.

INPUT PARAMETERS
	seconds: The number of seconds to which idle time will be set.
	account: (Optional) The account to set idle.

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

SEE ALSO
	idle