Using centerim's external configuration file makes it pretty easy to get notified about incoming messages. However, if you would add something like the following to your ~/.centerim/external, you'd be informed about *every* single incoming message, which doesn't make much sense, at least not in my eyes....
%action notification event msg proto all status all options nowait %exec #!/bin/bash #msg=`cat` nick=$(head -n 1 $CONTACT_INFODIR/info) echo "new message from $nick" | dzen2 -bg red -fg white -pTo deal with this problem, I wrote two small perl scripts: centerim_notify.pl & offline.pl.
%action notification event msg proto all status all options nowait %exec #!/bin/bash nick=$(head -n 1 $CONTACT_INFODIR/info) ~/.centericq/scripts/centerim_notify.pl "$nick" %action offline event offline proto all status all options nowait %exec #!/bin/bash nick=$(head -n 1 $CONTACT_INFODIR/info) ~/.centericq/scripts/offline.pl "$nick"
echo "alias centerim='rm -f ~/.centericq/.seen && centerim -o'" >> ~/.bashrc