In this video we look at the format of a "for" loop and an example of how to use it.
Code:
# sample code
:for LoopCount from=0 to=12 \
step=3 do={
:put "count = $LoopCount";
:delay 1;
}
Find out more about Mikrotik Scripting at [ Ссылка ] (check out the free downloadable cheat sheet that shows all the scripting commands you need!)
Ещё видео!