如何在 MikroTik RouterOS(脚本)中将命令输出插入字符串
如果你有 MikroTik RouterOS 命令,如
email_send_example.rsc
/tool e-mail send [email protected] subject="MikroTik test E-Mail"你可以将命令的输出插入
system_identity_get.rsc
/system identity get name通过使用 $[...] 语法:
email_send_with_identity_example.rsc
/tool e-mail send [email protected] subject="My identity is $[/system identity get name]"Check out similar posts by category:
MikroTik, Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow