QiChat script

QiChat

qiChat is the language used to write Dialog Topic boxes.

For further details see: QiChat.

Default script

By default, when you create a box its script looks as follows:

../../../_images/dialog_script.png

The topic name is created using the name you gave to the box, and the language is the one you have selected during box creation.

Adding rules

To add rules, see the syntax here: QiChat - Syntax.

You can also pick chunk of code using the auto-completion tool: use Ctrl-Space to display it.

../../../_images/auto_completion.png

Note that when a long name is splitted by slashes / (like $Device/SubDeviceList/Battery/Current/Sensor/Value), the auto-completion tool allows you select it chunk by chunk.

../../../_images/auto_completion2.png

Getting started

Follow step by step the tutorials: Creating Dialog boxes.