Next Topic

Previous Topic

Book Contents

Execute Lua script

The Lua action executes a Lua script, the object of the monitor that calls the action is used by the script as the host. The Lua script action can execute both simple and advanced scripts. Scripts using the advanced script model have custom defined argument sections that are not described here.

Lua script using the Simple script model

Lua script example using the Advanced script model

Parameters