Hi, I did some digging and ended up finding out a solution for this based on another post at the forum: Try this: :global pingResult -1 { :local jobID [:execute ":set pingResult [:ping interval=20ms count=10 99.99.99.99]"] :while ([:len [/system script job find where .id=$jobID]] > 0) do={...