Timer control

From SmartBots Developers Docs
Bot PlaygroundBuilt-in Functions
Revision as of 20:56, 6 October 2022 by Gg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Standard timer control routines of JavaScript: setTimeout, setInterval etc.

setTimeout(function() { console.log("This is a timer event!"); }, 5000);

You can use standard JavaScript timer routines: