Script repeat in script?

Just cant remember if I have seen this somewhere.

So i want to improve on the autoping of my webpower switch.

What I want to do is ping 2 hosts and if both hosts return 3 pings or better take NO action and repeat in 5 minutes. Else Take action and run script in 8 minutes.

/system script
add dont-require-permissions=no name=2Hosts owner=admin policy=\
    ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":if (([/ping 8.8.8.8 count=5] > 3) and ([/ping 192\
    .168.11.1 count=5] > 3)) do={} else={}\r\
    \n"

Can I set a :delay 00:05:00 then repeat at the end of the DO condition and a :delay 00:08:00 at the end of the ELSE condition?

Or do i need to activate and deactivate schedulers.

Sure I am missing something simple