Difference between revisions of "autoBreakTime"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '; autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] { ::; startTime <time> ::; stopTime [<time>] ; } : Enables auto disconnect and reconnect at specified times and days. : Can …')
 
Line 1: Line 1:
; autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
+
Automatically disconnect and reconnect at certain times of the day. This feature is useful if you want to automatically logout during server maintenance periods.
::; startTime <time>
 
::; stopTime [<time>]
 
; }
 
  
: Enables auto disconnect and reconnect at specified times and days.
+
== Syntax ==
 +
autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
 +
startTime <time>
 +
stopTime [<time>]
 +
}
 +
 
 +
=== Attribute definitions ===
 +
----
 +
 
 +
; autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}]
 +
: This option allows you to specify on which days of the week will Kore automatically disconnect.
 +
 
 +
 
 +
; startTime <time>
 +
: This option specifies the time (in 24-hour format) when Kore will automatically disconnect.
 +
 
 +
 
 +
; stopTime [<time>]
 +
: This option specifies the time (in 24-hour format) when Kore will reconnect after disconnecting.
 +
 
 +
 
 +
'''Notes:'''
 +
* Can only be used to break for less than 24 hours.
 +
* AM/PM Format is not supported, you must use 24 Hr clock!
 +
 
 +
 
 +
== Examples ==
 +
* The following example will make Kore automatically disconnect at 9:29 P.M. on Sunday and resume botting at 1:08 A.M. on Monday:
 +
 
 +
autoBreakTime Sun {
 +
startTime 21:29
 +
stopTime 01:08
 +
}
  
: Can only be used to break for less than 24 hours.
 
  
 
[[Category:config.txt]]
 
[[Category:config.txt]]
 
[[Category:auto disconnect]]
 
[[Category:auto disconnect]]
 +
[[Category:Config block]]

Revision as of 15:30, 15 December 2009

Automatically disconnect and reconnect at certain times of the day. This feature is useful if you want to automatically logout during server maintenance periods.

Syntax

autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
	startTime 

Attribute definitions


autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}]
This option allows you to specify on which days of the week will Kore automatically disconnect.


startTime
This option specifies the time (in 24-hour format) when Kore will automatically disconnect.


stopTime [
This option specifies the time (in 24-hour format) when Kore will reconnect after disconnecting.


Notes:

  • Can only be used to break for less than 24 hours.
  • AM/PM Format is not supported, you must use 24 Hr clock!


Examples

  • The following example will make Kore automatically disconnect at 9:29 P.M. on Sunday and resume botting at 1:08 A.M. on Monday:
autoBreakTime Sun {
	startTime 21:29
	stopTime 01:08
}