Why would you want to do this? For me IRC is mostly synonymous to technichal discussion on freenode. And my quasselcore runs on cheap rented machine in the cloud. So I honestly fail to see the risk with revealing that IPv4 address, even if it is a public one.
I have not measured whether that machine receives more port scanning than any other, because honestly I did not think that any port scanner would work just through a list of IRC users. Even after thinking of it, it sounds unlikely.
Actually, even if you don't have an IRC client you can right now just telnet to irc.freenode.com port 6667 and enter a couple of commands to join a channel and see the discussion: http://protofusion.org/wordpress/2009/08/irc-via-telnet/
The fact that IRC is an open protocol is of course what makes it "non-trending". You can't easily monetize from IRC and you can't hide the data of IRC behind closed gardens. Everything is there in the open.
Freenode has channels with people that are very helpful and friendly. Some channels I am frequent and would recommend: #django, #elixir-lang, #kotlin, #android-dev. I also visit (and get help) #mysql and #postgresql.
Actually I wanted to write a blog post to urge people to learn about and visit IRC, but I hope that this HN thread will suffice...
Try IRC and you won't regret it!