New answerscript for forwarding messages
[mirrors/libpurple-core-answerscripts.git] / purple / answerscripts.d / 00-forward.sh
1 #!/bin/sh
2 #This script will forward all incoming IM messages to someone else in network
3 FORWARD_PROTOCOL='irc';
4 FORWARD_ACCOUNT='Harvie@irc.freenode.net';
5 FORWARD_TO='hrv';
6 purple-remote "$FORWARD_PROTOCOL:goim?account=$FORWARD_ACCOUNT&screenname=$FORWARD_TO&message=""$(echo "<$ANSW_PROTOCOL:$ANSW_FROM> $ANSW_MSG" | tr '&' ' ')"
This page took 0.231441 seconds and 4 git commands to generate.