local ind = POS(-1513,8,-2613) local function send_train() set_rc("FREIGHT S23 TanhX_NBS23toE3 BYARD BY_COLLECT_S27 MGGRatHYARD S27 S27_UNLOAD S27_Overburden BY_RTS S27_EXIT") atc_send("S0WRD2A1S4") set_route(POS(-1504,8,-2622),"Through to Lead") F.indicator(ind,"off") end if event.ext_int and atc_id then send_train() end if event.train then if F.indicator(ind) then send_train() end return end