Ok, lots of enhancements:
code:
Updated code in later post

Change the value for $sSound to the path to your sound file.
Change the values for $sAddressList to all the host names or IP addresses you want to monitor.

When you run the script it will check every $iInterval seconds for the hosts. If it finds any it will
1) Play your sound
2) Display a list of all the machines which responded on the console with the time.
3) Pop-up the same message in a message-box, which will stay on screen for 5 seconds.

[ 21. February 2003, 12:45: Message edited by: Richard H. ]