help me in mikrotik command (if+do)
Posted: Tue Nov 20, 2018 10:00 am
hello every one
i want a command line to put comment in user comment section if empty
if (/ip hotspot user get not-comment (find where profile=512k)) do: (/ip hotspot user set (find where profile=512k) comment="1")
if empty add "1" in the comment, if there any thing in the comment section do nothing
thanks
i want a command line to put comment in user comment section if empty
if (/ip hotspot user get not-comment (find where profile=512k)) do: (/ip hotspot user set (find where profile=512k) comment="1")
if empty add "1" in the comment, if there any thing in the comment section do nothing
thanks