
The syntax is: MODE #channel +H max-lines-to-record:max-time-to-record.įor example: MODE #channel +H 50:1d means the last 50 messages will be stored and no message will be stored longer than 1 day (1440 minutes).įor max-time-to-record UnrealIRCd will automatically use the appropriate suffix for minutes ( XXm), hours ( XXh) or days ( XXd). To start recording history, set channel mode +H. Notable clients which do NOT support any history option (#1/#2/#3) are: If it's not working with any of these clients, make sure you are using their latest version and check the client documentation / client support resources.
WeeChat ( server-time is enabled by default since v3.3). The following clients support the earlier mentioned options #1 (15 lines of history on-join) and #2 (users can manually type HISTORY command to fetch more): The following clients implement CHATHISTORY: History playback works with modern IRC clients that support the server-time capability.įull support for fetching all history Ĭlients supporting CHATHISTORY can fetch all history there is, so hundreds or thousands of lines, depending on the +H setting. Note 2: A common question: FAQ: History mode (+H) causes my bot to re-trigger previous commands - What do I do?. If +H is set only allowing 5 lines, then no method can get more than 5 lines. So if +H is not set then you will not be able to retrieve history. Note 1: All interfaces will always obey channel mode +H. In the meantime, #1 is working already for many clients, and end-users can use #2 if their client does not support #3 yet. However, it will take a while until it is out of draft and potentially years for all IRC clients to implement this. In the end, the 3rd interface will give the best results. This is a flexible and complex command that is used by IRC clients themselves, not to be typed by end-users. CHATHISTORY (IRCv3): An IRCv3 draft extension which allows IRC clients to fetch channel history dynamically when scrolling. HISTORY command: Simple command for end-users to retrieve history. The number of lines playback is limited to only the last 15 lines. on-join: Automatic history playback whenever you JOIN a channel. There are 3 ways to retrieve channel history:
If you don't see history playback, then check out the client support section. (You can counteract this by setting the channel +P) NOTE: Of course, you must not be the only person in the channel, otherwise when you leave the channel (or rejoin), the channel will be destroyed, including the message history. Now, talk in the channel a bit and leave and rejoin the channel. This will make it remember the last 15 lines for the past 1440 minutes (1 day). To enable this you have to set channel mode +H, type: MODE #channel +H 15:1440.
#Limechat wiki full
3.1 Full support for fetching all history.