Skip to content

Instantly share code, notes, and snippets.

@bdionne
Created March 30, 2013 21:38
Show Gist options
  • Save bdionne/5278467 to your computer and use it in GitHub Desktop.
Save bdionne/5278467 to your computer and use it in GitHub Desktop.
;; (add-hook 'erc-text-matched-hook
;; (lambda (match-type nickuserhost message)
;; (when (and
;; (boundp 'nick)
;; (not (string= nick "ChanServ"))
;; (not (string= nick "services.")))
;; (cond
;; ((eq match-type 'current-nick)
;; (growl-chat-sticky (format "%s said %s" nick (erc-current-nick)) message))
;; ((eq match-type 'keyword)
;; (growl-chat (format "%s mentioned a Keyword" nick) message))
;; ((eq match-type 'nick)
;; (growl-chat (format "%s says" nick) message))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment