Difference between revisions of "autoBreakTime"

From OpenKore Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
* Can only be used to break for less than 24 hours.
 
* Can only be used to break for less than 24 hours.
 
* AM/PM Format is not supported, you must use 24 Hr clock!
 
* AM/PM Format is not supported, you must use 24 Hr clock!
 
+
* Opened your openkore in the middle of startTime and stopTime it will not work!
  
 
== Examples ==
 
== Examples ==

Revision as of 03:55, 26 March 2010

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!
  • Opened your openkore in the middle of startTime and stopTime it will not work!

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
}