Template:Macro delay: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with " <noinclude>This template describes the '''macro_delay''' parameter of the automacro eventMacros.</noinclude> ; macro_delay <number> :* '''macro_...")
 
No edit summary
 
Line 6: Line 6:
:* Must have a numeric value.
:* Must have a numeric value.


  automacro MyAuto {
  automacro MyAuto1 {
     <automacro conditions and parameters (and only them)>
     <automacro conditions and parameters (and only them)>
     macro_delay 2
     macro_delay 2

Latest revision as of 20:32, 18 October 2020

This template describes the macro_delay parameter of the automacro eventMacros.
macro_delay <number>
  • macro_delay is an optional parameter.
  • macro_delay defines the time in seconds to wait between macro commands.
  • If not used in the automacro the default value will be used, which is: 1.
  • Must have a numeric value.
automacro MyAuto1 {
    <automacro conditions and parameters (and only them)>
    macro_delay 2
    call {
        log This will be printed at the macro execution
        log This will be printed 2 seconds after
    }
}

automacro MyAuto2 {
    <automacro conditions and parameters (and only them)>
    macro_delay 5
    call {
        log This will be printed at the macro execution
        log This will be printed 5 seconds after
    }
}