Script for ping from all interfaces

I mean that i want to see only result from my script as massage - FAILED or OK, but without ping output.
For example as in this topic)
http://forum.mikrotik.com/t/suppress-output-from-ping-in-script/79536/1