From fba3d23786635e4388b4eaa83071480389f9a8b6 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Sun, 17 Nov 2024 00:00:02 +0100 Subject: State at 2024-11-17 --- durt/nodes/(-2213,7,887).lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 durt/nodes/(-2213,7,887).lua (limited to 'durt/nodes/(-2213,7,887).lua') 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 -- cgit v1.2.3