IRCCD-PLUGIN-HISTORY(7) Miscellaneous Information Manual IRCCD-PLUGIN-HISTORY(7)

irccd history plugin

The history plugin is used to check when someone has been seen for the last time on a channel. For that purpose, irccd needs to be on that channel forever if possible.

The plugin history is distributed with irccd. To enable it add the following to your plugins section:
history = ""

The plugin history only reacts to the special command. It understands seen and said sub commands.


markand: !history seen jean
irccd: markand, the last time I've seen jean was on 18/01/1989 at 20:55
markand: !history said jean
irccd: markand, the last thing that jean said was: hello world

The following options are available under the [plugin.history] section:
file (string)
path to the JSON file for saving information (Optional. default to cache directory).

The history plugin supports the following templates in [templates.history] section:
Template when an internal error occured. Keywords:
Template for showing last seen. Keywords: target, (date).
Template for showing the last message. Keywords: message, target, (date).
Template when the user has never been seen. Keywords: target.
Template to show the plugin usage.

All templates support the following standard keywords: channel, command, nickname, origin, plugin, server.

Example of configuration file:
seen = "#{target} has been seen on #{channel} the last time on: %d/%m/%Y %H:%M"

irccd(1), irccd-templates(7)
October 6, 2019 Linux 5.3.1-arch1-1-ARCH