New answerscript for forwarding messages
authorHarvie <tomas@mudrunka.cz>
Sun, 29 Aug 2010 20:51:15 +0000 (22:51 +0200)
committerHarvie <tomas@mudrunka.cz>
Sun, 29 Aug 2010 20:51:15 +0000 (22:51 +0200)
purple/answerscripts.d/00-forward.sh [new file with mode: 0755]

diff --git a/purple/answerscripts.d/00-forward.sh b/purple/answerscripts.d/00-forward.sh
new file mode 100755 (executable)
index 0000000..4ecad9f
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+#This script will forward all incoming IM messages to someone else in network
+FORWARD_PROTOCOL='irc';
+FORWARD_ACCOUNT='Harvie@irc.freenode.net';
+FORWARD_TO='hrv';
+purple-remote "$FORWARD_PROTOCOL:goim?account=$FORWARD_ACCOUNT&screenname=$FORWARD_TO&message=""$(echo "<$ANSW_PROTOCOL:$ANSW_FROM> $ANSW_MSG" | tr '&' ' ')"
This page took 0.131545 seconds and 4 git commands to generate.