In my humble search I haven't come across this script. All I need is a script which would connect too a Jabber/GTalk account, and based on a command users with a specific flag can send messages to one of the "Friends" on that account. If also replies can be sent to a specific channel, coming from the Jabber account, that would be great.
I really hope I'm not the only one looking for this method.
There is a TCL lib for jabber, but there is no documentation for it.
BUT ... there is always PERL, anyway I have old script which i've used for sending simple messages to my account via eggdrop, its based on 'sendxmpp' script
# Author: tomekk
# e-mail: tomekk/@/oswiecim/./eu/./org
# home page: http://tomekk.oswiecim.eu.org/
#
# Version 0.1
#
# This file is Copyrighted under the GNU Public License.
# http://www.gnu.org/copyleft/gpl.html
set jabber_rcp "jabrcp@server.com"
set sendxmpp_path "/usr/bin/sendxmpp"
set sendxmpp_msg_file "/home/user/eggdrop/.msg_file"
##############################################################
bind pub o|o !jmsg pass_msg
proc pass_msg { nick uhost hand chan arg } {
global jabber_rcp sendxmpp_path sendxmpp_msg_file
set msg_file_hand [open $sendxmpp_msg_file w]
puts $msg_file_hand $arg
close $msg_file_hand
if {![catch {exec $sendxmpp_path -m $sendxmpp_msg_file $jabber_rcp} crash]} {
file delete $sendxmpp_msg_file
} else {
putlog $crash
}
}
putlog "jabsnd.tcl ver 0.1 by tomekk loaded"
Script is very simple, you have to tweak it if you need more. http