16.05.2020, 14:43
(This post was last modified: 16.05.2020, 14:43 by Erwin van der Zwart.)
Hi,
There is a better way to do this:
BR,
Erwin
There is a better way to do this:
Code:
mapping = {
['1/1/1'] = {feedback = '2/1/1'},
['1/1/2'] = {feedback = '2/1/2'},
['1/1/3'] = {feedback = '2/1/3'},
['1/1/4'] = {feedback = '2/1/4'},
['1/1/5'] = {feedback = '2/1/5'},
['1/1/6'] = {feedback = '2/1/6'},
['1/1/7'] = {feedback = '2/1/7'},
}
address_feedback = mapping[event.dst].feedback
Erwin