The "chanhistory" Module (v3)

Description

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

Configuration

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

<module name="chanhistory">

<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.
enableumode Boolean No New in v3.9.0! Whether user mode N (nohistory) is enabled. You must restart after changing this setting for it to be applied.
maxlines Number 50 The maximum number of lines of history that a channel can keep.
prefixmsg (since 3.5.0)
notice (3.0.0 to 3.4.0)
Boolean Yes Whether to send a notice before sending history.
Example Usage
<chanhistory bots="yes"
             enableumode="yes"
             maxlines="50"
             prefixmsg="yes">

Channel Modes

Name Character Type Parameter Syntax Usable By Description
history H Parameter <count>:<period> Channel operators 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

User Modes

Name Character Type Parameter Syntax Usable By Description
nohistory N Switch None Anyone New in v3.9.0! Disables receiving channel history on join.