[Solved] Testing "for"
Posted: Wed Feb 18, 2009 3:03 pm
Hello guys, I'm trying to make this script work:
It's to find each queue that have the max-limit value equals "333" and change it to "50000", but didn't work atm.
Anyone can show me what I miss?
Code: Select all
:foreach i in=[/queue simple find ] do={ :if ([/queue simple get $i max-limit]=333/333) do={ :put [/queue simple set $i max-limit=50000/50000] }}
Anyone can show me what I miss?