The "chanhistory" Module


This module adds channel mode H (history) which allows message history to be viewed on joining the channel.


To load this module use the following <module> tag:

<module name="chanhistory">


The <chanhistory> tag defines settings about how the chanhistory module should behave. This tag can only be defined once.

Name Type Default Value Description
bots Boolean Yes Whether users with the bot user mode (+B) will receive history.
notice Boolean Yes Whether to send a notice before sending history.
maxlines Number 50 The maximum number of lines of history that a channel can keep.
Example Usage
<chanhistory bots="yes"

Channel Modes

Name Character Type Parameter Syntax Description
history H Parameter <count>:<period> Sends up to <count> messages from the last <period> on join.

Example Usage

Replays up to 10 messages from the last 30 minutes:

/MODE #channel +H 10:1800

Replays up to 25 messages from the last two hours:

/MODE #channel +H 25:2h