Hello
I need script that will enable/disable caps-man interface. idea is when MODE button is pressed it will run this script. So, same script, need to do enable caps-man (if it was disabled) or to disable it (if it was enabled).So one button can do both.
Now I have 2 scripts
/caps-man interface set [ find name~"House" ] disabled=no
/caps-man interface set [ find name~"House" ] disabled=yes
And Mode button enable it, and reset button disables it
But now I like MODE button to do both enable or disable depending of previus state of caps-man interfaces
Any example ?