Enable and disable queue tree

Friends, I turn to you because I know you can help me:
I need to make a script to enable and disable the whole queue tree, and if not it’s too much trouble to also enable and disable only one rule in the queue tree, thanks for your valuable help.

What is the condition?

to be able to enable or disable all the queue trees, in order to be able to leave all my clients with the free internet or the managed internet.

Can anybody help me please

Hello
Alslam alekoom

Ok i help you

for disable all queue tree use this script

/queue tree disable [find]

For enable all queue tree use this script

/queue tree enable [find]

To Disable only one Use this script

/queue tree disable [find comment=1]

Then go to the queue tree menu and comment number 1 for the option you want to disable