:range command

I’m not sure [:range] is actually too useful here, since you still need some kind of loop to use it for VLAN config. For example,
:for i from=1 to=10 do={ /interface/list/member/add interface=“ether$i” list=VLAN }
is same as
:foreach i in=[:range 1 10] do={ /interface/list/member/add interface=“ether$i” list=VLAN }

I wrote a longer post about VLAN scripting:
:face_with_monocle: example of automating VLAN creation/removal/inspecting using $mkvlan & friends…
http://forum.mikrotik.com/t/example-of-automating-vlan-creation-removal-inspecting-using-mkvlan-friends/181480/1