Skip to main content
100%

Use Growl to allow notifications in DMDirc on OS X

✓ Published0🌍 Public
SSimonS
Last edited Dec 21, 2012
Created on Dec 21, 2012

This example shows how DMDirc, an IRC client, can send desktop notifications on macOS when a channel message mentions the user’s nickname. It uses DMDirc’s redirect and exec plugins to invoke the `growlnotify` command-line tool from the Growl notification framework. A trigger on `CHANNEL_MESSAGE` routes the message text through a response that runs `/usr/local/bin/growlnotify` with the sender name, channel, and message content. A condition tree filters messages using a `STRING_CONTAINS` comparison against `$SERVER_MYNICKNAME`, ensuring only relevant messages trigger the notification.

AI-generated description

Similar vizzes