I'm "trying" to get a script that gets all the limit-at of the rules that match a parent and that in turn adds all the results in kilobits, so if for example I have 2 daughters with limit-at of 2M/2M I can get a final variable that results in $ example = 4000/4000 but I only get to the point where I get the limit-at I don't know what else to do, I've already read the wiki and I can't do anything else.
This is the script I have managed to do, but it only does half:
Code: Select all
:foreach b in=[/queue simple find parent=parent-example] d={
:global test [/queue simple get $b limit-at];
}
My native language is not English, so understanding the wiki is very difficult for me even with translators, however I understand most of the code I see, please, if you know how to do it, put it as an answer.