local signal = POS(-4626,7,-6616) if event.train and atc_arrow then local rc = (get_rc() or "") if rc:match("BFT_shunt_platforms") then local control = {"B0WD2A0R"} if rc:match("BFT_shunt_Platform1") then set_route(signal,"SHUNT Platform 1") control[2] = "S3CplS1" elseif rc:match("BFT_shunt_Track2") then set_route(signal,"SHUNT Track 2") control[2] = "S3CplS1" elseif rc:match("BFT_shunt_around_Track2") then set_route(signal,"Around via Track2") control[2] = "S4" end if #control > 1 then control[1] = table.concat(control,"") end atc_send(control[1]) return end end