queue change script

/queue simple {
:foreach item in=[find] do={
set $item max-limit=16k/228
}
}

?

i want to set max-limit=16k/228 for each queue in my /simple queue

/queue simple
set [find] max-limit=16k/228

i do use router 3.30
but scrpit not work with me

باياتي ثمنا قليلا ومن

Google is ace. Free translations and everything.

All acessed by Mikrotik hardware too.

smart
say thx to your god there is no( - )karma

there is negative karma, btw

hahaha i had notice right know
but iam not sure that
adrianatkins
talke with me so i will not do anything

/queue simple
set [find] max-limit=16k/228

what if i want to skip the commented queue, what ever was the comment
/queue simple
set [find !comment""] max-limit=16k/228

/queue simple { set [find comment!=""] max-limit=16k/228 }

http://wiki.mikrotik.com/wiki/Manual:Scripting#Operators

Hi fewi,
I want to script queue like that but limit rate is not same for all queues. I can change dynamic queue rate like this:

set numbers=[/queue simple find where name="<pppoe-BGN1726>"] max-limit=2048k/2048k limit-at=2048k/2048k

Now I want to increase limit rate x2 for all dynamic queues at 22:00-08:00.

Scheduler1: every day at 22:00

set numbers=[/queue simple find where name="ALLUSERS"] max-limit="ExistingLimit x 2" limit-at="ExistingLimit x 2"

Scheduler2: every day at 08:00

set numbers=[/queue simple find where name="ALLUSERS"] max-limit="ExistingLimit / 2" limit-at="ExistingLimit / 2"

Please help