\n:global txbyte [/interface get [find name=LTE1] tx-byte];\r\
And this is what I trying to do, and it doesn’t work:
\n:global txbyte [/interface/list get [find name=Double-WAN-List] tx-byte];\r\
I included LTE1 interface in Double-WAN-List and wanted to get TX byte data for all of interfaces included there. Bad sadly syntax for interface list is incorrect. Because I don’t know what is the right syntax - I just tried a few options with trial and error method. And I was not lucky.
Thanks, but your advice doesn’t help. When I copy/paste your command to terminal, it returns nothing. If I change name to physical interface, it returns number with asterisk (like *8). I think that problem is in we search through interfaces, but must search through interface lists. This is 2 different beasts.
Dash is absolutely OK for MikroTik and widely used everywhere in console commands.