[nylug-talk] CLI AIM

gmlug at saplings.us gmlug at saplings.us
Mon Jan 1 09:18:35 EST 2007


Ron Guerin wrote:
> Gary Mort wrote:
>   
>> Ron Guerin wrote:
>>     
>>> The thing I'd find useful is a working daemon/commandline pair written
>>> for OSCAR and meant to be used by scripts rather than people.  I found
>>> one somewhere that was written for TOC, but it didn't work when I tried
>>> it.  If anyone runs across a daemon that maintains a connection to AIM
>>> and works with a corresponding command-line client program to send
>>> messages, I'd be interested in knowing about it.  
>>>       
>> Out of curiosity, why do you want to maintain a connection?  I've been
>> looking over the various perl modules to connect and send a message,
>> with the concept that I would have the program log on, send a message,
>> and log off.
>>     
>
> The protocol wants a persistent connection and the server will ban you,
> if you were to say, send three messages, each with a connection, a
> message, and a disconnect within a 60-90 second period.  I had this
> happen to me recently while testing centericq.
>
>   

Good to know.  That scratches testing out sending a message one by one then.

In that case, SDBA is looking more and more promising:
http://duncanlamb.com/sdba

Once it is up and running, it will monitor a directory for files 
formatted to it's liking and will send those files over a variety of 
instant message applications:
http://duncanlamb.com/sdba/?Tutorial//9.+Advanced%26nbsp%3Bstuff+-%26nbsp%3Ballowing+other+applications+to+use+your+bot+to+send%26nbsp%3BIMs+and+run+commands


Somewhat more involved, you can script it to respond to messages being 
sent from an instant message client.

I haven't looked closely enough to see if it has a direct interface, or 
if the only way to send a message through it is to setup those files.

I was looking at it to see how hard it would be to integrate it with 
Kannel so you could do dry runs and testing of sending SMS messages 
through Kannel by setting up a Fake SMS Service Center which would 
accept the message and then pump it out over an instant message application.


More information about the nylug-talk mailing list