Pretty sure it would work if he was to remove the first 2 while loops, and disable the PART command when the received line isn’t PING. I think that’s all it to me to get it working, but don’t remember now, was 2 days ago when I first saw this thread. 