macro delay: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:Macro_delay}} Category:EventMacro_Automacros Category:EventMacro_Parameters")
 
m (Conversion script moved page Macro delay to macro delay: Converting page titles to lowercase)
 
(No difference)

Latest revision as of 22:35, 26 April 2021

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
    }
}