diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-11-17 00:00:02 +0100 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-11-17 00:00:02 +0100 |
commit | fba3d23786635e4388b4eaa83071480389f9a8b6 (patch) | |
tree | 8d373c6126c056f51324c1e400a04e25ef139e1d /durt/nodes/(-2213,7,887).lua | |
parent | 659d0af30c8433b96aad397351e218ca7e825c99 (diff) | |
download | luaatc_envs-fba3d23786635e4388b4eaa83071480389f9a8b6.tar.gz luaatc_envs-fba3d23786635e4388b4eaa83071480389f9a8b6.tar.bz2 luaatc_envs-fba3d23786635e4388b4eaa83071480389f9a8b6.zip |
State at 2024-11-17
Diffstat (limited to 'durt/nodes/(-2213,7,887).lua')
-rw-r--r-- | durt/nodes/(-2213,7,887).lua | 13 |
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 |