Skip to content

Instantly share code, notes, and snippets.

@piffall
Created March 5, 2015 11:58
Show Gist options
  • Save piffall/79c3d6541d5d0e1a0525 to your computer and use it in GitHub Desktop.
Save piffall/79c3d6541d5d0e1a0525 to your computer and use it in GitHub Desktop.
Mikrotik "IF" statement example code (another one)
# 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