This is what I call "kiddie snippet." It serves no benefit but disturbance to a chat room.
Rather than repeating the word "ping," using:
$str(ping $chr(32),60)
where the number 60 is the repetition. This saves you many bytes.