Morning Boys

Ive slightly modified it, so I can see exactly what it is doing ("I like simple things [Smile] ")

Break on
$Null=""
$sIPAddress="ipaddress"
While "true"
Shell "C:\WINNT\SYSTEM32\CMD.EXE /C ping -n 1 ipaddress"
If @ERROR=0
$Null=MessageBox("IP Address" + $sIPAddress + " is respondin", PLAY "v:\asterix.wav")
Exit 0
EndIf
Sleep(60)
Loop

AND IT WORKS !!
But im now having trouble playing the sound, now coming up with an error "expected error" Any ideas guys ?

It will be for mutilple pcs but I only want to check one at a time
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields