Template:Timeout: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
Created page with " <noinclude>This template describes the '''timeout''' parameter of the automacro eventMacros.</noinclude> ; timeout <number> :* '''timeout''' is..."
 
(No difference)

Latest revision as of 21:29, 3 July 2019

This template describes the timeout parameter of the automacro eventMacros.
timeout <number>
  • timeout is an optional parameter.
  • timeout defines the time in seconds before this automacro can activate again after an activation.
  • If not used in the automacro the default value will be used, which is: 0.
  • Must have a numeric value.
automacro <automacro name> {
    <automacro conditions and parameters (and only them)>
    timeout 60
    call myMacro
}
macro myMacro {
    <macro instructions (and only them, as this is regular macro)>
    log This macro will only be called every 60 seconds
}