summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2213,8,898).lua
blob: 0be631fc2ee455ea0e122e4c47c8840c39dfa7bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if event.type=="digiline" then
	if event.channel ~= "trainctl" then return end
	if not atc_id then return end
	local cmd = "I+S0WR;S4"
	if event.msg == "send" then
		atc_send(cmd)
		return
	end
	if event.msg == "send_cpl" then
		atc_send(cmd.."CplWS0WRS4")
		return
	end
end