I’m writing a complex RouterOS script right now. I need to obtain the list of route marks, my Mikrotik router has 3 route marks, let say “route_mark1”, “route_mark2” and “route_mark3”. So for now I couldn’t find the commands which will retrieve this list. In the end I should have a local variable as an array initialized with this list:
:local localRouteMarks {“route_mark1”, “route_mark2”, “route_mark3”};
Could someone help me and provide the piece of code which I need ?