Hack Forums
[Shell] Reply to IRC PING with PONG in bash script - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] Reply to IRC PING with PONG in bash script (/showthread.php?tid=5602766)



Reply to IRC PING with PONG in bash script - Veii - Apr 18, 2017

So far I have a basic IRC Bot which I hope to be able to successfully PRIVMSG myself with but on the server I am testing on it requires a PONG response to PING.

I have absolutely no idea how to get around this. How do I reply to the PING with the same number?

What I get:

Spoiler (Click to View)

Current Code:

Spoiler (Click to View)