blob: 71a69c3b9f40ca15ff9b1b04454cc0471e3e5774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
if event.train then
if not atc_arrow then return end
local rc = get_rc() or ""
if rc:match("WOA_SHUNT") then
F.remove_rc({"WOA_SHUNT"})
atc_send("A0B0WRD1S3A1")
elseif rc:match("WOA_EXITLOOP") then
F.remove_rc({"WOA_EXITLOOP"})
atc_send("SM")
end
end
|