Script

From Larnitech wiki page
Revision as of 08:25, 23 August 2021 by Erich (talk | contribs) (Created page with "===Example of description in XML=== <syntaxhighlight lang="xml" line> <item type="script" name="Test" path="script-test.txt" addr="125:150" NAME=”VALUE”/> </syntaxhighlig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example of description in XML

1<item type="script" name="Test" path="script-test.txt" addr="125:150" NAME=”VALUE”/>

Parameters

Name type and variety description
path* string path to script file relatively to server folder
body* string contents of script (instead of path)
NAME string parameters sent to script

* – required fields

Possible variants of setting the status

Byte description
0 0 – off
1 – on
0xFF – Change the status for the opposite one