Skip to content

Instantly share code, notes, and snippets.

@piffall
Last active June 5, 2017 00:29
Show Gist options
  • Save piffall/8558482 to your computer and use it in GitHub Desktop.
Save piffall/8558482 to your computer and use it in GitHub Desktop.
Mikrotik "IF" statement example code
# Mikrotik "if" statement example
:global version [/system resource get version ]
:if (version>=6.5) do={
# Do some stuff
} else={
# Do some other stuff
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment