summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2132,8,914).lua
blob: 5229dce8df34c7595edbee7ab9d81cc50131472e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local ch = {
	get = "ars_set_query",
	input = "ars_set",
	indicator = "ars_indicator",
}

if event.train then
	digiline_send(ch.get, "GET")
	return
end

if event.digiline then
	if event.channel==ch.input then
		if not atc_id then
			digiline_send(ch.indicator, true)
			return
		end
		set_rc(tostring(event.msg))
		digiline_send(ch.indicator, false)
		return
	end
end