I've tried to find existing tools to do this, but I didn't get anywhere. If you find programs that fit these two requirements, and walk me through their installation, configuration, and use, I'll pay you a bounty of $35 in btc. Otherwise, I'd like to comission someone to write them.
Program one: I need to be able to send an xmpp message from the command line, providing sending address, password, receiving address, and message in one go. Something like:
Program two: This program takes three parameters: xmpp address, password, and command. It listens on the address it is given, and whenever it receives a message, it calls "command" with the sender's address and message as parameters. Something like
Language doesn't matter too much, but I recommend ruby due to the fact that its "blather" xmpp library seems most up to date. The fewer dependencies the program has, the better. I will test the completed programs on a selection of xmpp servers, using pidgin as the "control group". If you write these programs, I expect to have access to the source code. You may share it freely, and/or make it open source.
I'm using this solution simply because I've given up hope at being able to directly use the language of my main project, which is common lisp. If you can create a working library (cl-xmpp returns an error for me), I'd be willing to pay even more.
If you're interested, let me know what you intend to do and how much you want for it.