Difference between revisions of "Script/ru"
Jump to navigation
Jump to search
(Created page with "Скрипт") |
(Created page with "===Пример описания в XML===") |
||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
| − | === | + | ===Пример описания в XML=== |
<syntaxhighlight lang="xml" line> | <syntaxhighlight lang="xml" line> | ||
Revision as of 12:51, 26 January 2022
Пример описания в 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 |