local dir_indicator = POS(-2079,7,803) local this_dir = true if event.schedule then if not atc_id then atc_send_to_train(event.msg,"B0WRD1S1") return end if event.msg == atc_id then schedule_in(";01",atc_id) return else atc_send("BB") atc_send_to_train("BB") return end return end if event.train and atc_arrow then if F.has_rc("ARC_LOAD_reverse") and F.dir(dir_indicator) == this_dir then set_autocouple() schedule_in(";01",atc_id) return end if F.has_rc("ARC_LOAD_exit") then F.remove_rc({"ARC_LOAD_exit"}) atc_send("D5SM") return end end