0

exit or break a loop statement

jensenbreck0093 6 months ago 0

Hello everybody, 

I'm making a script that ping more than 3 hosts, if first fail then ping second and so on, but if some of the hosts it's up then the loop should terminate and dont ping the rest of the servers, in mikrotik language there is some break or exit order than can make this possible i need break or exit the loop inmediatly when some host respond to ping. 


thanks






I didn't find the right solution from the internet.
References:

https://forum.mikrotik.com/viewtopic.php?t=42113


product launch