Difference between revisions of "Bot Playground/Built-in Functions"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} The basic built-in functions do not relate to bot functionality. Instead, they allow writing flexible scripts. <syntaxhighlight lang="javascr...") |
m (Gg moved page Built-in Functions to Bot Playground/Built-in Functions) |
(No difference)
| |
Revision as of 14:45, 6 October 2016
The basic built-in functions do not relate to bot functionality. Instead, they allow writing flexible scripts.
setTimeout(function() { console.log("Timer has fired!"); }, 3000);
Commands reference
| Command | Description | |
|---|---|---|
Program flow | ||
| console.log | Logs data to the runtime log. | |
| console.error | Logs data to the error log. | |
| exit | Bot Playground/Built-in Functions/exit | |
| Timer control | Standard timer control routines of JavaScript: setTimeout, setInterval etc. | |