blob: f5618acb0b80fdf07b711b0c144c47b835d36c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
if event.train then
if atc_arrow == true then
if F.has_rc("ARC_Station_Reverse") then
atc_send("S2")
schedule_in(";01",atc_id)
print("Train's id: " ..atc_id)
return
end
end
end
if event.schedule then
print("Msg id: "..event.msg)
if atc_id and event.msg == atc_id then
schedule_in(";01",event.msg)
return
else
atc_send_to_train(event.msg,"S0WRS3")
return
end
end
|