blob: ec8cd4aca52af9ab4ae798d11e5fcc92ece2db9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local trigger = POS(-2130,21,925)
if event.train then
if getstate(trigger)=="off" then return end
digiline_send("ars_set_query",true)
return
end
if event.digiline and event.channel=="ars_set" and atc_id then
set_rc(event.msg)
setstate(trigger,"off")
return
end
if event.digiline and event.channel=="ars_indicator" then
setstate(trigger,event.msg)
return
end
|