Skip to content

Examples: Forward Irssi hightlights

JP Mens edited this page Apr 29, 2014 · 2 revisions

Christian Hofstaedtler had a neat idea: forward IRC messages with an awayforward.pl script to MQTT from which mqttwarn can post them to a notification service.

Once it's loaded, awayforward.pl posts a JSON data structure to MQTT:

{"target":"#channel","message":"<nick> good morning mynick"}

I can then create an mqttwarn target which forwards those highlights to, say, pushover:

[irssi/away]
topic = irssi/away
targets = log:info, pushover:irssi
title = irssi: {target}
format = {message}
Clone this wiki locally