GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37436d7
)
New answerscript for forwarding messages
author
Harvie
<tomas@mudrunka.cz>
Sun, 29 Aug 2010 20:51:15 +0000
(22:51 +0200)
committer
Harvie
<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]
patch
|
blob
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
+++ b/
purple/answerscripts.d/00-forward.sh
@@ -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.141254 seconds
and
4
git commands to generate.