So when someone is bitching or saying nonsensic BS on some IRC channel (or slack, or hipchat, or anything that supports bitlbee), you can ignore him/her, but often you forget to unignore, and after a few hours they tell you something important and you just miss it. Not good.
So here's a timed ignore command for erc
(defun erc-cmd-TMPIG (&rest users) (let ((b (current-buffer))) (dolist (user users) (erc-process-input-line (format "/ignore %s" user))) (run-at-time (* 60 10) nil (lambda () (dolist (user users) (with-current-buffer b (erc-process-input-line (format "/unignore %s" user))))))))
Yes, some of you reading this will be the victims of this... :)
EDIT: This code needs to be in a file with lexical scope active. otherwise, use lexical-let instead of let