:timestamp
Код: Выделить всё
:timestamp returns the time since epoch, where epoch is January 1, 1970, not counting leap second
:put [:timestamp]
:retry :retry command=<expr> delay=[num] max=[num] on-error=<expr>
Try to execute the given command "max" amount of times with a given "delay" between tries.
On failure, execute the expression given in the "on-error" block
Код: Выделить всё
:retry command={abc} delay=1 max=2 on-error={:put "got error"}
:rndnum
Код: Выделить всё
:rndnum from=[num] to=[num] random number generator :put [:rndnum from=1 to=99];
:rndstr
Код: Выделить всё
:rndstr from=[str] length=[num] random string generator :put [:rndnum from="abcdef%^&" length=33];
https://forum.mikrotik.com/viewtopic.php?t=189097