Logic

There are two ways to create logic sequences on the DGBox, using a dataflow to create logic visually or using a script to do it in code. Either one can be used to achieve desired functionality.

Dataflow
The DGBox dataflow is a visual programming environment designed on a graphical dataflow-based programming model. Rather than a series of imperative commands sequentially executed, a dataflow program is more like a series of workers on an assembly line, who do their assigned task as the materials arrive.
Script
dgbox_wiki:logic:script:home
The DGBox script node requires some knowledge of JavaScript, also known as ECMAScript. (The full specification for ECMAScript is available here.) JavaScript is arguably the most popular scripting language in use today, it being the only language available for use in every popular web browser.