Schedule has started or stopped

From wiki.netio-products.com
Revision as of 16:12, 11 July 2019 by Phrych (talk | contribs) (Created page with "{{DISPLAYTITLE:Script trigger Schedule has started or stopped}} Triggered when selected schedule starts. Arguments are stored in table <code>event.args</code> === Arguments =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Triggered when selected schedule starts. Arguments are stored in table event.args

Arguments

  • scheduleActive true when schedule is active, false otherwise
  • scheduleId schedule ID

Print arguments

-- print all arguments
for i, v in pairs(event.args) do
  logf("%s: %s",tostring(i),tostring(v))
end