Created
March 5, 2015 11:58
-
-
Save piffall/79c3d6541d5d0e1a0525 to your computer and use it in GitHub Desktop.
Mikrotik "IF" statement example code (another one)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If something do something | |
:if ( [ :len [ /somepath find where somematch="match" ] ] > 0 ) do={ | |
# Do something | |
} else { | |
# Do something else | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment