Forum Discussion
eykxas
3 years agoRegular Contributor
Ok ! Thanks for your reply. Based on your example I created a script able to manage my case.
But instead of "else if" I use a switch case and a map.
I set a map() with all my mapped objects, then I parse this map and the first object that exists is passed to the switch.