first try your command in CLI, just in terminal to discover that print and once are not existing together. Use TAB key in CLI. Next with working one command build more complex structure. Use simple commands as possible. put [interface lte get lte1 network-mode ] lte if (1=1) do={put OK} else={put N...