summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2213,7,887).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-2213,7,887).lua')
-rw-r--r--durt/nodes/(-2213,7,887).lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/durt/nodes/(-2213,7,887).lua b/durt/nodes/(-2213,7,887).lua
new file mode 100644
index 0000000..2a67431
--- /dev/null
+++ b/durt/nodes/(-2213,7,887).lua
@@ -0,0 +1,13 @@
+if event.type=="digiline" then
+ if event.channel ~= "trainctl" then return end
+ if not atc_id then return end
+ local cmd = "I+S0WR;S3"
+ if event.msg == "send" then
+ atc_send(cmd)
+ return
+ end
+ if event.msg == "send_cpl" then
+ atc_send(cmd.."CplS0WRS3")
+ return
+ end
+end \ No newline at end of file