How do I display the last x messages before I joined a channel in irc?
Missing something obvious here but I can't find the answer on google.
When I join a channel on IRC is there a way to view the last x messages or are they lost in the ether forever?
Solution 1:
It depends on the IRC server and the channel. Some IRC servers provide this service and some don't. Some channel bots provide this service and some don't, and some channels have channel bots and some don't. The easiest way to find out if there is a way is to ask in the channel. Usually, there isn't.
Solution 2:
You can only see what's been said as long as you're logged in. There's no logging/previous message functionality in irc - everything is sent in a realtimeish manner, and there's no server side message logging
Solution 3:
If you need this, you can either setup a bot, or you can setup what's called a "bouncer". Check out ZNC for this.
ZNC is an IRC network bouncer or BNC. It can detach the client from the actual IRC server, and also from selected channels.
http://wiki.znc.in/ZNC
ZNC has all sorts of features, such as buffer reply which is what you're looking for. Given the design of IRC, something needs to be listening for those messages in order to play them back to you -- in the case of ZNC it's your "clone" that's waiting for you to attach.
An alternative to setting up a bouncer is using a cloud-based IRC service such as https://www.irccloud.com/ which should provide some buffer replay capabilities.