hi. i want to write a loop to create a bridge interface with defined name but not worked. where is problem?
#brnum is number of bridge that i want to create
:local brnum "2";
#brname is name of every bridge that i want defined from number 1 to brnum
:local brname1 "bridge-work";
:local brname2 "bridge-game";
#brcomm is comment of every bridge that i want defined from 1 to brnum
:local brcomm1 "work bridge";
:local brcomm2 " game bridge";
#now i want to write a loop
:for br from=1 to=($brnum) do={
/interface bridge;
add name=$brname$br comment=$brcomm$br arp=reply-only auto-mac=yes fast-forward=no mtu=1500}
second $ after first $ in $brname$br not accepted how to write this to mikrotik accept this and works without problem