I am wanting to use the following script to change simple queue settings.
Where my confusion is even though :put shows the value of counter is 0 the script exits with "no such item"
I used :global to test line by line from the console.
I have tried {} [] () around $counter but still get "no such item"
:local counter 0;
:local numberofqueues [/queue simple print count];
:set numberofqueues {$numberofqueues-2};
:while ($counter < $numberofqueues) do={/queue simple set $counter burst-limit=3M/3M; :set counter ($counter + 1)};