Difference between revisions of "whenIdle"

From OpenKore Wiki
Jump to navigation Jump to search
m
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; whenIdle [<boolean flag>]
+
; whenIdle [<[[boolean]]>]
: Set this option to '''1''' if you want to use the block only when Kore is doing nothing.
+
: Set this option to '''1''' if you want to use the block only when Kore is [[:Category:Idle Condition|doing nothing]].
 +
 
 +
; whenNotIdle [<[[boolean]]>]
 +
: Set this option to '''1''' if you want to use the block only when Kore is not [[:Category:Idle Condition|doing nothing]].
 +
 
 +
== Examples ==
  
Example:
 
 
  useSelf_item Firecracker {
 
  useSelf_item Firecracker {
 
  whenIdle 1
 
  whenIdle 1
Line 8: Line 12:
 
  }
 
  }
  
* Use Firecracker every one second when Kore is idle.
+
: Use Firecracker every one second when Kore is idle.
  
 
[[Category:Self Condition]]
 
[[Category:Self Condition]]
 +
[[Category:Idle Condition]]

Revision as of 13:59, 11 October 2019

whenIdle [<boolean>]
Set this option to 1 if you want to use the block only when Kore is doing nothing.
whenNotIdle [<boolean>]
Set this option to 1 if you want to use the block only when Kore is not doing nothing.

Examples

useSelf_item Firecracker {
	whenIdle 1
	timeout 1
}
Use Firecracker every one second when Kore is idle.