summaryrefslogtreecommitdiff
path: root/m4/nodes/(2010,3,5860).lua
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nodes/(2010,3,5860).lua')
-rw-r--r--m4/nodes/(2010,3,5860).lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/m4/nodes/(2010,3,5860).lua b/m4/nodes/(2010,3,5860).lua
new file mode 100644
index 0000000..5229dce
--- /dev/null
+++ b/m4/nodes/(2010,3,5860).lua
@@ -0,0 +1,22 @@
+local ch = {
+ get = "ars_set_query",
+ input = "ars_set",
+ indicator = "ars_indicator",
+}
+
+if event.train then
+ digiline_send(ch.get, "GET")
+ return
+end
+
+if event.digiline then
+ if event.channel==ch.input then
+ if not atc_id then
+ digiline_send(ch.indicator, true)
+ return
+ end
+ set_rc(tostring(event.msg))
+ digiline_send(ch.indicator, false)
+ return
+ end
+end \ No newline at end of file